Share via


ISearchServiceClient.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

Remarks

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

Applies to