41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/Microsoft/azure-pipelines-task-lib/master/tasks.schema.json",
|
|
"id": "11c532b8-f2bd-45f8-ac94-3b7e44608cc4",
|
|
"name": "AzureFederatedAuth",
|
|
"friendlyName": "Azure Federated Auth",
|
|
"description": "Gets OIDC token and sets ARM vars (optionally GIT_ACCESS_TOKEN).",
|
|
"helpMarkDown": "For details, see: https://gitea.koszewscy.waw.pl/koszewscy/ado-azurefederatedauth-task.git",
|
|
"category": "Deploy",
|
|
"author": "skoszewski-lab",
|
|
"version": {
|
|
"Major": 1,
|
|
"Minor": 0,
|
|
"Patch": 3
|
|
},
|
|
"instanceNameFormat": "Configure federated auth: $(serviceConnectionARM)",
|
|
"inputs": [
|
|
{
|
|
"name": "serviceConnectionARM",
|
|
"type": "connectedService:AzureRM",
|
|
"label": "Azure Resource Manager service connection",
|
|
"defaultValue": "",
|
|
"required": true,
|
|
"helpMarkDown": "AzureRM service connection used to request the OIDC token."
|
|
},
|
|
{
|
|
"name": "setGitAccessToken",
|
|
"type": "boolean",
|
|
"label": "Set GIT_ACCESS_TOKEN for Azure DevOps Git",
|
|
"defaultValue": "false",
|
|
"required": false,
|
|
"helpMarkDown": "Exchange OIDC for Azure DevOps scope and set secret GIT_ACCESS_TOKEN."
|
|
}
|
|
],
|
|
"execution": {
|
|
"Node20_1": {
|
|
"target": "dist/index.js"
|
|
}
|
|
},
|
|
"minimumAgentVersion": "3.225.0"
|
|
}
|