azure_identity@0.23.0
Pre-release
Pre-release
0.23.0 (2025-04-09)
Features Added
- Added
AzurePipelinesCredential. AzureCliCredentialOptions(new) accepts aazure_core::process::Executorto run the Azure CLI asynchronously.
Thetokiofeature is disabled by default sostd::process::Commandis used; otherwise, if enabled,tokio::process::Commandis used.
Callers can also implement the trait themselves to use a different asynchronous runtime.- Restored
ClientSecretCredential
Breaking Changes
- Added
Option<AzureCliCredentialOptions>toAzureCliCredential::new. AzureCliCredentialauthenticates only against the first scope passed as a resource to support both v1 and v2 CLI versions.ClientAssertionCredentialconstructors moved some parameters to anOption<ClientAssertionCredentialOptions>parameter.- Removed
get_subscription()andget_tenant()fromAzureCliCredential. WorkloadIdentityCredentialconstructors moved some parameters to anOption<ClientAssertionCredentialOptions>parameter.- Removed
clear_cache()from all credential types - Removed
old_azure_clifeature.AzureCliCredentialnow requires a recent version of the Azure CLI (2.54.0 or later). - Replaced
AppServiceManagedIdentityCredential,VirtualMachineManagedIdentityCredential, andImdsIdwithManagedIdentityCredentialandUserAssignedId