Package version:
AzurePipelinesCredential supports Federated Identity on Azure Pipelines through Service Connections.
tenantId associated with the service connection
clientId associated with the service connection
Unique ID for the service connection, as found in the querystring's resourceId key
The pipeline's
The identity client options to use for authentication.
Authenticates with Microsoft Entra ID and returns an access token if successful. If authentication fails, a CredentialUnavailableError or AuthenticationError will be thrown with the details of the failure.
The list of scopes for which the token will have access.
Optionaloptions: anyThe options used to configure any requests this TokenCredential implementation might make.
This credential is designed to be used in Azure Pipelines with service connections as a setup for workload identity federation.