Create credential chains section in Azure Identity README (#5973)

This commit is contained in:
Scott Addie 2024-09-12 09:48:20 -05:00 committed by GitHub
parent cfbe21ca82
commit df6f5c910d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,16 +122,23 @@ Configuration is attempted in the above order. For example, if values for a clie
## Credential classes
### Authenticate Azure-hosted applications
### Credential chains
|Credential | Usage
|-|-
|`DefaultAzureCredential`|Provides a simplified authentication experience to quickly start developing applications run in Azure.
|`ChainedTokenCredential`|Allows users to define custom authentication flows composing multiple credentials.
### Authenticate Azure-hosted applications
|Credential | Usage
|-|-
|`ManagedIdentityCredential`|Authenticates the managed identity of an Azure resource.
|`EnvironmentCredential`|Authenticates a service principal or user via credential information specified in environment variables.
|`WorkloadIdentityCredential`|Authenticate a workload identity on Kubernetes.
### Authenticate service principals
|Credential | Usage
|-|-
|`AzurePipelinesCredential`|Supports [Microsoft Entra Workload ID](https://learn.microsoft.com/azure/devops/pipelines/release/configure-workload-identity?view=azure-devops) on Azure Pipelines.
@ -140,6 +147,7 @@ Configuration is attempted in the above order. For example, if values for a clie
|`ClientCertificateCredential`|Authenticates a service principal [using a certificate](https://learn.microsoft.com/entra/identity-platform/app-objects-and-service-principals).
### Authenticate via development tools
|Credential | Usage
|-|-
|`AzureCliCredential`|Authenticates in a development environment [with the Azure CLI](https://learn.microsoft.com/cli/azure/authenticate-azure-cli).