你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WorkloadIdentityCredential Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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)
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 that allow to configure the management of the requests sent to Microsoft Entra ID.