ProvisioningDeploymentOptions.DefaultCredentialProvider Property
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.
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
Azure SDK for .NET