Sdílet prostřednictvím


AzureOpenAISettings.Key Property

Definition

Gets or sets the key to use to authenticate to the Azure OpenAI endpoint.

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

Property Value

Remarks

When defined it will use an ApiKeyCredential instance instead of Credential.

Applies to