azure-identity_1.11.0
1.11.0 (2022-09-19)
Features Added
- Added
additionally_allowed_tenantsto the following credential options to force explicit opt-in behavior for multi-tenant authentication:AuthorizationCodeCredentialAzureCliCredentialAzurePowerShellCredentialCertificateCredentialClientAssertionCredentialClientSecretCredentialDefaultAzureCredentialOnBehalfOfCredentialUsernamePasswordCredentialVisualStudioCodeCredential
Breaking Changes
- Credential types supporting multi-tenant authentication will now throw
ClientAuthenticationErrorif the requested tenant ID doesn't match the credential's tenant ID, and is not included inadditionally_allowed_tenants. Applications must now explicitly add additional tenants to theadditionally_allowed_tenantslist, or add '*' to list, to enable acquiring tokens from tenants other than the originally specified tenant ID.
More information on this change and the consideration behind it can be found here.
- These beta features in 1.11.0b3 have been removed from this release and will be added back in 1.12.0b1
tenant_idforAzureCliCredential- removed
VisualStudioCodeCredentialfromDefaultAzureCredentialtoken chain AZURE_CLIENT_CERTIFICATE_PASSWORDsupport forEnvironmentCredentialvalidate_authoritysupport