{
namespace Microsoft.Extensions.Configuration {
public static class AzureKeyVaultConfigurationExtensions {
+ public static IConfigurationBuilder AddAzureKeyVault(this IConfigurationBuilder configurationBuilder, AzureKeyVaultConfigurationOptions options);
}
}
namespace Microsoft.Extensions.Configuration.AzureKeyVault {
+ public class AzureKeyVaultConfigurationOptions {
+ public AzureKeyVaultConfigurationOptions();
+ public AzureKeyVaultConfigurationOptions(string vault);
+ public AzureKeyVaultConfigurationOptions(string vault, string clientId, X509Certificate2 certificate);
+ public AzureKeyVaultConfigurationOptions(string vault, string clientId, string clientSecret);
+ public KeyVaultClient Client { get; set; }
+ public IKeyVaultSecretManager Manager { get; set; }
+ public TimeSpan? ReloadInterval { get; set; }
+ public string Vault { get; set; }
+ }
}
}