1.4.0b2 (2020-04-06)
- After an instance of
DefaultAzureCredential
successfully authenticates, it
uses the same authentication method for every subsequent token request. This
makes subsequent requests more efficient, and prevents unexpected changes of
authentication method.
(#10349) - All
get_token
methods consistently require at least one scope argument,
raising an error when none is passed. Althoughget_token()
may sometimes
have succeeded in prior versions, it couldn't do so consistently because its
behavior was undefined, and dependened on the credential's type and internal
state. (#10243) SharedTokenCacheCredential
raisesCredentialUnavailableError
when the
cache is available but contains ambiguous or insufficient information. This
causesChainedTokenCredential
to correctly try the next credential in the
chain. (#10631)- The host of the Active Directory endpoint credentials should use can be set
in the environment variableAZURE_AUTHORITY_HOST
. See
azure.identity.KnownAuthorities
for a list of common values.
(#8094)