Partager via


ProvisioningDeploymentOptions.DefaultCredential Property

Definition

Gets or set a TokenCredential to use for creating ArmClient or data-plane client instances. This value is used as the default for both DefaultArmCredential and DefaultClientCredential if they are not provided.

public Azure.Core.TokenCredential? DefaultCredential { get; set; }
member this.DefaultCredential : Azure.Core.TokenCredential with get, set
Public Property DefaultCredential As TokenCredential

Property Value

Remarks

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

Applies to