# AzureSecurityKeyVaultSettings

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

Provides the client configuration settings for connecting to Azure Key Vault.

## Definition

```csharp
namespace Aspire.Azure.Security.KeyVault;

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

## Constructors

- [AzureSecurityKeyVaultSettings](/reference/api/csharp/aspire.azure.security.keyvault/azuresecuritykeyvaultsettings/constructors.md#constructor)

## Properties

- [Credential](/reference/api/csharp/aspire.azure.security.keyvault/azuresecuritykeyvaultsettings/properties.md#credential) : `TokenCredential?` `get; set` -- Gets or sets the credential used to authenticate to the Azure Key Vault.
- [DisableHealthChecks](/reference/api/csharp/aspire.azure.security.keyvault/azuresecuritykeyvaultsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the Key Vault health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.azure.security.keyvault/azuresecuritykeyvaultsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [VaultUri](/reference/api/csharp/aspire.azure.security.keyvault/azuresecuritykeyvaultsettings/properties.md#vaulturi) : `Uri?` `get; set` -- A `Uri` to the vault on which the client operates. Appears as "DNS Name" in the Azure portal. If you have a secret `Uri`, use `Secrets.KeyVaultSecretIdentifier` to parse the `KeyVaultSecretIdentifier.VaultUri` and other information. You should validate that this URI references a valid Key Vault resource. See [https://aka.ms/azsdk/blog/vault-uri](https://aka.ms/azsdk/blog/vault-uri) for details.
