DefaultAzureCredential Class

Definition

Creates a credential using environment variables or the shared token cache. It tries to create a valid credential in the following order:

  1. EnvironmentCredential
  2. ManagedIdentityCredential
  3. SharedTokenCacheCredential
  4. IntelliJCredential
  5. VisualStudioCodeCredential
  6. AzureCliCredential
  7. Fails if none of the credentials above could be created.
public final class DefaultAzureCredential extends ChainedTokenCredential
Inheritance
java.lang.Object
DefaultAzureCredential

Inherited Members

java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Applies to