diff --git a/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationKeyVaultOptions.cs b/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationKeyVaultOptions.cs index 520e3af0..24bc61a7 100644 --- a/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationKeyVaultOptions.cs +++ b/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationKeyVaultOptions.cs @@ -14,11 +14,13 @@ namespace Microsoft.Extensions.Configuration.AzureAppConfiguration /// public class AzureAppConfigurationKeyVaultOptions { + private const int KeyVaultMaxRetries = 6; + internal TokenCredential Credential; internal SecretClientOptions ClientOptions = new SecretClientOptions { Retry = { - MaxRetries = 6 + MaxRetries = KeyVaultMaxRetries } }; internal List SecretClients = new List();