DataPlaneAuthOptions Class

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

Constructor

DataPlaneAuthOptions()

Variables

Name Description
apiKeyOnly
Any

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

aadOrApiKey
<xref:<xref:"DataPlaneAadOrApiKeyAuthOption">>

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

Attributes

aadOrApiKey

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

aadOrApiKey: DataPlaneAadOrApiKeyAuthOption

apiKeyOnly

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

apiKeyOnly: Any