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