# AzureSearchSettings

- Kind: `class`
- Package: [Aspire.Azure.Search.Documents](/reference/api/csharp/aspire.azure.search.documents.md)
- Version: `13.3.0`
- Namespace: `Aspire.Azure.Search.Documents`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.Search.Documents/AzureSearchSettings.cs)
- Implements: `IConnectionStringSettings`

Provides the client configuration settings for connecting to Azure AI Search.

## Definition

```csharp
namespace Aspire.Azure.Search.Documents;

public sealed class AzureSearchSettings
    : Aspire.Azure.Common.IConnectionStringSettings
{
    // ...
}
```

## Constructors

- [AzureSearchSettings](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/constructors.md#constructor)

## Properties

- [Credential](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/properties.md#credential) : `TokenCredential?` `get; set` -- Gets or sets the credential used to authenticate to the Azure AI Search resource.
- [DisableHealthChecks](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the Azure AI Search health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [Endpoint](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/properties.md#endpoint) : `Uri?` `get; set` -- Gets or sets a `Uri` referencing the Azure AI Search endpoint. This is likely to be similar to "https://{search_service}.search.windows.net".
- [Key](/reference/api/csharp/aspire.azure.search.documents/azuresearchsettings/properties.md#key) : `string?` `get; set` -- Gets or sets the key to use to authenticate to the Azure AI Search endpoint.
