Dela via


WorkloadIdentityCredential Constructors

Definition

Overloads

WorkloadIdentityCredential()

Creates a new instance of the WorkloadIdentityCredential with the default options. When no options are specified AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_FEDERATED_TOKEN_FILE must be specified in the environment.

WorkloadIdentityCredential(WorkloadIdentityCredentialOptions)

Creates a new instance of the WorkloadIdentityCredential with the specified options.

WorkloadIdentityCredential()

Source:
WorkloadIdentityCredential.cs
Source:
WorkloadIdentityCredential.cs

Creates a new instance of the WorkloadIdentityCredential with the default options. When no options are specified AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_FEDERATED_TOKEN_FILE must be specified in the environment.

public WorkloadIdentityCredential ();
Public Sub New ()

Applies to

WorkloadIdentityCredential(WorkloadIdentityCredentialOptions)

Source:
WorkloadIdentityCredential.cs
Source:
WorkloadIdentityCredential.cs

Creates a new instance of the WorkloadIdentityCredential with the specified options.

public WorkloadIdentityCredential (Azure.Identity.WorkloadIdentityCredentialOptions options);
new Azure.Identity.WorkloadIdentityCredential : Azure.Identity.WorkloadIdentityCredentialOptions -> Azure.Identity.WorkloadIdentityCredential
Public Sub New (options As WorkloadIdentityCredentialOptions)

Parameters

options
WorkloadIdentityCredentialOptions

Options that allow to configure the management of the requests sent to Microsoft Entra ID.

Applies to