Package com.azure.identity
Class DefaultAzureCredential
java.lang.Object
com.azure.identity.ChainedTokenCredential
com.azure.identity.DefaultAzureCredential
- All Implemented Interfaces:
com.azure.core.credential.TokenCredential
Creates a credential using environment variables or the shared token cache. It tries to create a valid credential in
the following order:
EnvironmentCredentialManagedIdentityCredentialSharedTokenCacheCredentialIntelliJCredentialVisualStudioCodeCredentialAzureCliCredentialAzurePowerShellCredential- Fails if none of the credentials above could be created.
-
Method Summary
Methods inherited from class com.azure.identity.ChainedTokenCredential
getTokenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.core.credential.TokenCredential
getTokenSync