Share via


AzureAppConfigurationKeyVaultOptions Class

Definition

Options used to configure the client used to fetch key vault references in an Azure App Configuration provider.

public class AzureAppConfigurationKeyVaultOptions
type AzureAppConfigurationKeyVaultOptions = class
Public Class AzureAppConfigurationKeyVaultOptions
Inheritance
AzureAppConfigurationKeyVaultOptions

Constructors

AzureAppConfigurationKeyVaultOptions()

Methods

ConfigureClientOptions(Action<SecretClientOptions>)

Configures the client options used when connecting to key vaults that have no registered SecretClient. The client options will not affect SecretClient instances registered via Register(SecretClient).

Register(SecretClient)

Registers the specified SecretClient instance to use to resolve key vault references for secrets from associated key vault.

SetCredential(TokenCredential)

Sets the credentials used to authenticate to key vaults that have no registered SecretClient.

SetSecretRefreshInterval(String, TimeSpan)

Sets the refresh interval for periodically reloading a secret from Key Vault. Any refresh operation triggered using IConfigurationRefresher will not update the value for a Key Vault secret until the cached value for that secret has expired.

SetSecretRefreshInterval(TimeSpan)

Sets the refresh interval for periodically reloading all those secrets which do not have individual refresh intervals. Any refresh operation triggered using IConfigurationRefresher will not update the value for a Key Vault secret until the cached value for that secret has expired.

SetSecretResolver(Func<Uri,ValueTask<String>>)

Sets the callback used to resolve key vault references that have no registered SecretClient.

Applies to