예제 #1
0
 public VaultConfigurationProvider(VaultOptions options, string key)
 {
     _options = options;
     _key     = key;
 }
 public VaultConfigurationSource(VaultOptions vaultOptions, string key)
 {
     _vaultOptions = vaultOptions;
     _key          = key;
 }
예제 #3
0
 private static IConfigurationBuilder AddVault(this IConfigurationBuilder builder,
                                               VaultOptions options, string key)
 {
     builder.Add(new VaultConfigurationSource(options, key));
     return(builder);
 }
예제 #4
0
 public VaultStore(VaultOptions options)
 {
     _options = options;
     LoadEnvironmentVariables();
 }