SearchCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Credentials used to authenticate to a search service. https://docs.microsoft.com/rest/api/searchservice/
public class SearchCredentials : Microsoft.Rest.ServiceClientCredentials
type SearchCredentials = class
inherit ServiceClientCredentials
Public Class SearchCredentials
Inherits ServiceClientCredentials
- Inheritance
Remarks
See https://docs.microsoft.com/azure/search/search-security-api-keys for more information about API keys in Azure Cognitive Search.
Constructors
SearchCredentials(String) |
Initializes a new instance of the SearchCredentials class with a query key or an admin key. Use a query key if your application does not require write access to the Search Service or index. |
Properties
ApiKey |
api-key used to authenticate to a search service. Can be either a query key for querying only, or an admin key that enables index and document management as well. |
Methods
InitializeServiceClient<T>(ServiceClient<T>) | (Inherited from ServiceClientCredentials) |
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken) |
Adds the credentials to the given HTTP request. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기