DataPlaneAuthOptions interface

Defines the options for how the data plane API of a Search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.

Properties

aadOrApiKey

Indicates that either the API key or an access token from Azure Active Directory can be used for authentication.

apiKeyOnly

Indicates that only the API key needs to be used for authentication.

Property Details

aadOrApiKey

Indicates that either the API key or an access token from Azure Active Directory can be used for authentication.

aadOrApiKey?: DataPlaneAadOrApiKeyAuthOption

Property Value

apiKeyOnly

Indicates that only the API key needs to be used for authentication.

apiKeyOnly?: Record<string, unknown>

Property Value

Record<string, unknown>