Skip to content
Docs Try Aspire

AzureSecurityKeyVaultSettings Properties

Class Properties 4 members
Provides the client configuration settings for connecting to Azure Key Vault.
Credential Section titled Credential nullable TokenCredential?
Gets or sets the credential used to authenticate to the Azure Key Vault.
public TokenCredential? Credential { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
Gets or sets a boolean value that indicates whether the Key Vault health check is disabled or not.
public bool DisableHealthChecks { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }
VaultUri Section titled VaultUri nullable Uri?
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 for details.
public Uri? VaultUri { get; set; }