|
204 | 204 | "clientSecret" |
205 | 205 | ] |
206 | 206 | }, |
| 207 | + "AzureDevOpsIdentityProviderConfig": { |
| 208 | + "type": "object", |
| 209 | + "additionalProperties": false, |
| 210 | + "properties": { |
| 211 | + "provider": { |
| 212 | + "const": "azuredevops" |
| 213 | + }, |
| 214 | + "displayName": { |
| 215 | + "type": "string", |
| 216 | + "description": "Optional label for the Microsoft Entra-backed Azure DevOps Cloud provider. Defaults to 'Azure DevOps'." |
| 217 | + }, |
| 218 | + "purpose": { |
| 219 | + "enum": [ |
| 220 | + "sso", |
| 221 | + "account_linking" |
| 222 | + ] |
| 223 | + }, |
| 224 | + "clientId": { |
| 225 | + "anyOf": [ |
| 226 | + { |
| 227 | + "type": "object", |
| 228 | + "properties": { |
| 229 | + "env": { |
| 230 | + "type": "string", |
| 231 | + "description": "The name of the environment variable that contains the token." |
| 232 | + } |
| 233 | + }, |
| 234 | + "required": [ |
| 235 | + "env" |
| 236 | + ], |
| 237 | + "additionalProperties": false |
| 238 | + }, |
| 239 | + { |
| 240 | + "type": "object", |
| 241 | + "properties": { |
| 242 | + "googleCloudSecret": { |
| 243 | + "type": "string", |
| 244 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 245 | + } |
| 246 | + }, |
| 247 | + "required": [ |
| 248 | + "googleCloudSecret" |
| 249 | + ], |
| 250 | + "additionalProperties": false |
| 251 | + } |
| 252 | + ] |
| 253 | + }, |
| 254 | + "clientSecret": { |
| 255 | + "anyOf": [ |
| 256 | + { |
| 257 | + "type": "object", |
| 258 | + "properties": { |
| 259 | + "env": { |
| 260 | + "type": "string", |
| 261 | + "description": "The name of the environment variable that contains the token." |
| 262 | + } |
| 263 | + }, |
| 264 | + "required": [ |
| 265 | + "env" |
| 266 | + ], |
| 267 | + "additionalProperties": false |
| 268 | + }, |
| 269 | + { |
| 270 | + "type": "object", |
| 271 | + "properties": { |
| 272 | + "googleCloudSecret": { |
| 273 | + "type": "string", |
| 274 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 275 | + } |
| 276 | + }, |
| 277 | + "required": [ |
| 278 | + "googleCloudSecret" |
| 279 | + ], |
| 280 | + "additionalProperties": false |
| 281 | + } |
| 282 | + ] |
| 283 | + }, |
| 284 | + "tenantId": { |
| 285 | + "type": "string", |
| 286 | + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", |
| 287 | + "description": "Microsoft Entra directory tenant ID. Register the application in the tenant connected to your Azure DevOps organizations." |
| 288 | + }, |
| 289 | + "accountLinkingRequired": { |
| 290 | + "type": "boolean", |
| 291 | + "default": false |
| 292 | + } |
| 293 | + }, |
| 294 | + "required": [ |
| 295 | + "provider", |
| 296 | + "purpose", |
| 297 | + "clientId", |
| 298 | + "clientSecret", |
| 299 | + "tenantId" |
| 300 | + ] |
| 301 | + }, |
207 | 302 | "GoogleIdentityProviderConfig": { |
208 | 303 | "type": "object", |
209 | 304 | "additionalProperties": false, |
|
1204 | 1299 | } |
1205 | 1300 | }, |
1206 | 1301 | "oneOf": [ |
| 1302 | + { |
| 1303 | + "type": "object", |
| 1304 | + "additionalProperties": false, |
| 1305 | + "properties": { |
| 1306 | + "provider": { |
| 1307 | + "const": "azuredevops" |
| 1308 | + }, |
| 1309 | + "displayName": { |
| 1310 | + "type": "string", |
| 1311 | + "description": "Optional label for the Microsoft Entra-backed Azure DevOps Cloud provider. Defaults to 'Azure DevOps'." |
| 1312 | + }, |
| 1313 | + "purpose": { |
| 1314 | + "enum": [ |
| 1315 | + "sso", |
| 1316 | + "account_linking" |
| 1317 | + ] |
| 1318 | + }, |
| 1319 | + "clientId": { |
| 1320 | + "anyOf": [ |
| 1321 | + { |
| 1322 | + "type": "object", |
| 1323 | + "properties": { |
| 1324 | + "env": { |
| 1325 | + "type": "string", |
| 1326 | + "description": "The name of the environment variable that contains the token." |
| 1327 | + } |
| 1328 | + }, |
| 1329 | + "required": [ |
| 1330 | + "env" |
| 1331 | + ], |
| 1332 | + "additionalProperties": false |
| 1333 | + }, |
| 1334 | + { |
| 1335 | + "type": "object", |
| 1336 | + "properties": { |
| 1337 | + "googleCloudSecret": { |
| 1338 | + "type": "string", |
| 1339 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 1340 | + } |
| 1341 | + }, |
| 1342 | + "required": [ |
| 1343 | + "googleCloudSecret" |
| 1344 | + ], |
| 1345 | + "additionalProperties": false |
| 1346 | + } |
| 1347 | + ] |
| 1348 | + }, |
| 1349 | + "clientSecret": { |
| 1350 | + "anyOf": [ |
| 1351 | + { |
| 1352 | + "type": "object", |
| 1353 | + "properties": { |
| 1354 | + "env": { |
| 1355 | + "type": "string", |
| 1356 | + "description": "The name of the environment variable that contains the token." |
| 1357 | + } |
| 1358 | + }, |
| 1359 | + "required": [ |
| 1360 | + "env" |
| 1361 | + ], |
| 1362 | + "additionalProperties": false |
| 1363 | + }, |
| 1364 | + { |
| 1365 | + "type": "object", |
| 1366 | + "properties": { |
| 1367 | + "googleCloudSecret": { |
| 1368 | + "type": "string", |
| 1369 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 1370 | + } |
| 1371 | + }, |
| 1372 | + "required": [ |
| 1373 | + "googleCloudSecret" |
| 1374 | + ], |
| 1375 | + "additionalProperties": false |
| 1376 | + } |
| 1377 | + ] |
| 1378 | + }, |
| 1379 | + "tenantId": { |
| 1380 | + "type": "string", |
| 1381 | + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", |
| 1382 | + "description": "Microsoft Entra directory tenant ID. Register the application in the tenant connected to your Azure DevOps organizations." |
| 1383 | + }, |
| 1384 | + "accountLinkingRequired": { |
| 1385 | + "type": "boolean", |
| 1386 | + "default": false |
| 1387 | + } |
| 1388 | + }, |
| 1389 | + "required": [ |
| 1390 | + "provider", |
| 1391 | + "purpose", |
| 1392 | + "clientId", |
| 1393 | + "clientSecret", |
| 1394 | + "tenantId" |
| 1395 | + ] |
| 1396 | + }, |
1207 | 1397 | { |
1208 | 1398 | "type": "object", |
1209 | 1399 | "additionalProperties": false, |
|
0 commit comments