1.4.0b3 (2020-05-04)
EnvironmentCredential
correctly initializesUsernamePasswordCredential
with the value ofAZURE_TENANT_ID
(#11127)- Values for the constructor keyword argument
authority
and
AZURE_AUTHORITY_HOST
may optionally specify an "https" scheme. For example,
"https://login.microsoftonline.us" and "login.microsoftonline.us" are both valid.
(#10819) - First preview of new API for authenticating users with
DeviceCodeCredential
andInteractiveBrowserCredential
(#10612)- new method
authenticate
interactively authenticates a user, returns a
serializableAuthenticationRecord
- new constructor keyword arguments
authentication_record
enables initializing a credential with an
AuthenticationRecord
from a prior authenticationdisable_automatic_authentication=True
configures the credential to raise
AuthenticationRequiredError
when interactive authentication is necessary
to acquire a token rather than immediately begin that authenticationenable_persistent_cache=True
configures these credentials to use a
persistent cache on supported platforms (in this release, Windows only).
By default they cache in memory only.
- new method
- Now
DefaultAzureCredential
can authenticate with the identity signed in to
Visual Studio Code's Azure extension.
(#10472)