AzureAppConfigurationKeyVaultOptions.SetSecretRefreshInterval Method

Definition

Overloads

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.

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.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions SetSecretRefreshInterval (TimeSpan refreshInterval);
member this.SetSecretRefreshInterval : TimeSpan -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions
Public Function SetSecretRefreshInterval (refreshInterval As TimeSpan) As AzureAppConfigurationKeyVaultOptions

Parameters

refreshInterval
TimeSpan

Minimum time that must elapse before the secrets are reloaded from Key Vault.

Returns

Applies to

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.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions SetSecretRefreshInterval (string secretReferenceKey, TimeSpan refreshInterval);
member this.SetSecretRefreshInterval : string * TimeSpan -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions
Public Function SetSecretRefreshInterval (secretReferenceKey As String, refreshInterval As TimeSpan) As AzureAppConfigurationKeyVaultOptions

Parameters

secretReferenceKey
String

Key of the Key Vault reference in Azure App Configuration.

refreshInterval
TimeSpan

Minimum time that must elapse before the secret is reloaded from Key Vault.

Returns

Applies to