Class DefaultAzureCredentialOptions
Options to configure the DefaultAzureCredential authentication flow and requests made to Azure Identity services.
Inherited Members
Namespace: Azure.Identity
Assembly: Azure.Identity.dll
Syntax
public class DefaultAzureCredentialOptions : Azure.Identity.TokenCredentialOptions
Constructors
DefaultAzureCredentialOptions()
Declaration
public DefaultAzureCredentialOptions ();
Properties
ExcludeAzureCliCredential
Specifies whether the AzureCliCredential will be excluded from the DefaultAzureCredential authentication flow.
Declaration
public bool ExcludeAzureCliCredential { get; set; }
Property Value
Boolean
|
ExcludeEnvironmentCredential
Specifies whether the EnvironmentCredential will be excluded from the authentication flow. Setting to true disables reading authentication details from the process' environment variables.
Declaration
public bool ExcludeEnvironmentCredential { get; set; }
Property Value
Boolean
|
ExcludeInteractiveBrowserCredential
Specifies whether the InteractiveBrowserCredential will be excluded from the DefaultAzureCredential authentication flow. Setting to true disables launching the default system browser to authenticate in development environments.
Declaration
public bool ExcludeInteractiveBrowserCredential { get; set; }
Property Value
Boolean
|
ExcludeManagedIdentityCredential
Specifies whether the ManagedIdentityCredential will be excluded from the DefaultAzureCredential authentication flow. Setting to true disables authenticating with managed identity endpoints.
Declaration
public bool ExcludeManagedIdentityCredential { get; set; }
Property Value
Boolean
|
ExcludeSharedTokenCacheCredential
ExcludeVisualStudioCodeCredential
Specifies whether the VisualStudioCodeCredential will be excluded from the DefaultAzureCredential authentication flow.
Declaration
public bool ExcludeVisualStudioCodeCredential { get; set; }
Property Value
Boolean
|
ExcludeVisualStudioCredential
Specifies whether the VisualStudioCredential will be excluded from the DefaultAzureCredential authentication flow.
Declaration
public bool ExcludeVisualStudioCredential { get; set; }
Property Value
Boolean
|
InteractiveBrowserTenantId
The tenant id of the user to authenticate, in the case the DefaultAzureCredential authenticates through, the InteractiveBrowserCredential. The default is null and will authenticate users to their default tenant. The value can also be set by setting the environment variable AZURE_TENANT_ID.
Declaration
public string InteractiveBrowserTenantId { get; set; }
Property Value
String
|
ManagedIdentityClientId
Specifies the client id of the azure ManagedIdentity in the case of user assigned identity.
Declaration
public string ManagedIdentityClientId { get; set; }
Property Value
String
|
SharedTokenCacheTenantId
SharedTokenCacheUsername
VisualStudioCodeTenantId
The tenant id of the user to authenticate, in the case the DefaultAzureCredential authenticates through, the VisualStudioCodeCredential. The default is null and will authenticate users to their default tenant. The value can also be set by setting the environment variable AZURE_TENANT_ID.
Declaration
public string VisualStudioCodeTenantId { get; set; }
Property Value
String
|
VisualStudioTenantId
The tenant id of the user to authenticate, in the case the DefaultAzureCredential authenticates through, the VisualStudioCredential. The default is null and will authenticate users to their default tenant. The value can also be set by setting the environment variable AZURE_TENANT_ID.
Declaration
public string VisualStudioTenantId { get; set; }
Property Value
String
|