你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProvisioningDeploymentOptions.DefaultCredentialProvider Property

Definition

Gets or sets a factory function to create new instances of TokenCredential to use when DefaultArmCredential or DefaultClientCredential are not provided. It defaults to returning new DefaultAzureCredential instances.

public Func<Azure.Core.TokenCredential> DefaultCredentialProvider { get; set; }
member this.DefaultCredentialProvider : Func<Azure.Core.TokenCredential> with get, set
Public Property DefaultCredentialProvider As Func(Of TokenCredential)

Property Value

Remarks

Check out DefaultAzureCredential and the Azure.Identity library for more information on getting started with TokenCredential.

Applies to