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(*, api_key_only: MutableMapping[str, Any] | None = None, aad_or_api_key: _models.DataPlaneAadOrApiKeyAuthOption | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
api_key_only
|
<xref:JSON>
Indicates that only the API key can be used for authentication. Default value: None
|
|
aad_or_api_key
|
Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. Default value: None
|
Variables
| Name | Description |
|---|---|
|
api_key_only
|
<xref:JSON>
Indicates that only the API key can be used for authentication. |
|
aad_or_api_key
|
Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. |