azure-identity_1.6.0
1.6.0 (2023-11-10)
Features Added
- Added
WorkloadIdentityCredential. - When one of the credentials within
DefaultAzureCredentialis successful, it gets re-used during all subsequent attempts to get the token. - Updated
ClientSecretCredentialOptionsandClientCertificateCredentialOptionsto read the default value for the authority host option from the environment variable first.
Breaking Changes
- Add
WorkloadIdentityCredentialto theDefaultAzureCredential.
Bugs Fixed
- Do not throw an exception during
AzureCliCredentialconstruction, but rather delay it to theGetToken()call. - Harden checks for the tenant ID.
- Disallow space character when validating tenant id and scopes as input for
AzureCliCredential. - Add authority host url validation to reject non-HTTPS schemes.
- [#4084] Remove OpenSSL dependency on Windows. (A community contribution, courtesy of teo-tsirpanis)
Other Changes
- Add default values to some
WorkloadIdentityCredentialOptionsfields such as authority host by reading them from the environment. - Add logging to
WorkloadIdentityCredentialto help with debugging. - Create separate lists of characters that are allowed within tenant ids and scopes in
AzureCliCredential.
Acknowledgments
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
- Theodore Tsirpanis (GitHub)