Share via


SearchServiceClient.SearchCredentials Property

Definition

Gets the credentials used to authenticate to a search service. This can be either a query API key or an admin API key.

public Microsoft.Azure.Search.SearchCredentials SearchCredentials { get; }
member this.SearchCredentials : Microsoft.Azure.Search.SearchCredentials
Public ReadOnly Property SearchCredentials As SearchCredentials

Property Value

Implements

Remarks

See https://docs.microsoft.com/azure/search/search-security-api-keys for more information about API keys in Azure Cognitive Search.

Applies to