Share via


DataPlaneAuthOptions interface

Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true.

Properties

aadOrApiKey

Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication.

apiKeyOnly

Indicates that only the API key can be used for authentication.

Property Details

aadOrApiKey

Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication.

aadOrApiKey?: DataPlaneAadOrApiKeyAuthOption

Property Value

apiKeyOnly

Indicates that only the API key can be used for authentication.

apiKeyOnly?: Record<string, unknown>

Property Value

Record<string, unknown>