-
Notifications
You must be signed in to change notification settings - Fork 316
Closed as not planned
Labels
Azure.IdentityThe azure_identity crateThe azure_identity crate
Description
Feature Summary
The AZURE_TOKEN_CREDENTIALS can be used to customize DefaultAzureCredential.
Feature Description
The Azure Identity libraries added support for an AZURE_TOKEN_CREDENTIALS environment variable to DefaultAzureCredential. This feature allows developers to choose between Deployed service or Developer tool credentials by setting the environment variable to prod or dev, respectively.
https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-june-2025/
It allows specifying a specific credential, just like
- add azure_identity::create_credential(), SpecificAzureCredential, AppServiceManagedIdentityCredential, VirtualMachineManagedIdentityCredential #1532
But the env var isAZURE_TOKEN_CREDENTIALS
and notAZURE_CREDENTIAL_KIND
. It also supports categories likeprod
anddev
.
Nice to see this adopted.
Use Case
No response
Alternatives
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Azure.IdentityThe azure_identity crateThe azure_identity crate
Type
Projects
Status
Done
Status
Done