echelonfour/Azure DevOps Login
Uses the az tool to login provide Azure DevOps authentication in GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| npmrc | comma separated list of npmrc files to read for logging in | yes | .npmrc |
| nuget | comma separated list of nuget sources to read for logging in | yes | nuget.config |
| login-urls | comma separated list of Azure DevOps organization URLs to login to. Setting this overrides reading from npmrc and nuget files and will only output the VSS_NUGET_EXTERNAL_FEED_ENDPOINTS. | no | "" |
| install-provider | Whether to force install the Azure Artifacts Credential Provider | no | false |
| build-npmrc-credentials-file | Whether to build an .npmrc file with the credentials for use in later steps | no | true |
| build-nuget-credentials-file | Whether to build a nuget.config file with the credentials for use in later steps | no | true |
| client-id | ClientId of the Azure Service principal created to act as. If not set, will use the az cli logged in user | no | — |
| tenant-id | TenantId of the Azure Service principal created to act as. If not set, will use the az cli logged in user | no | — |
| audience | Provide audience field for access-token. Default value is api://AzureADTokenExchange | no | api://AzureADTokenExchange |
Outputs
| name | description |
|---|---|
| token | The Azure DevOps access token retrieved |
| npmrc-credential-file | The path to the generated .npmrc file with credentials, if one was made |
| nuget-credential-file | The path to the generated nuget.config file with credentials, if one was made |