Share via


AzureSearchChatExtensionConfiguration.Authentication Property

Definition

The authentication method to use when accessing the defined data source. Each data source type supports a specific set of available authentication methods; please see the documentation of the data source for supported mechanisms. If not otherwise provided, On Your Data will attempt to use System Managed Identity (default credential) authentication. Please note OnYourDataAuthenticationOptions is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OnYourDataAccessTokenAuthenticationOptions, OnYourDataApiKeyAuthenticationOptions, OnYourDataConnectionStringAuthenticationOptions, OnYourDataEncodedApiKeyAuthenticationOptions, OnYourDataKeyAndKeyIdAuthenticationOptions, OnYourDataSystemAssignedManagedIdentityAuthenticationOptions and OnYourDataUserAssignedManagedIdentityAuthenticationOptions.

public Azure.AI.OpenAI.OnYourDataAuthenticationOptions Authentication { get; set; }
member this.Authentication : Azure.AI.OpenAI.OnYourDataAuthenticationOptions with get, set
Public Property Authentication As OnYourDataAuthenticationOptions

Property Value

Applies to