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

CredentialSettings.CredentialSource Property

Definition

Gets or sets the source of the credential.

public string? CredentialSource { get; set; }
member this.CredentialSource : string with get, set
Public Property CredentialSource As String

Property Value

Remarks

This value determines the type of authentication policy to use. For example, "ApiKeyCredential" creates an ApiKeyAuthenticationPolicy.

Matching is case-insensitive: values read from configuration are normalized to lowercase before storage, so resolvers should compare against lowercase constants. Each resolver decides which forms it accepts (for example, both short "broker" and long "brokercredential").

Applies to