fix: When bootstrapping an app config to interpolate secrets, clone the secrets provider configuration as well so config secrets stored in remote vaults can be used properly
This commit is contained in:
1 parent
8de0eef4f9
commit
bbb23f4884
1 file changed
+1
@@ -487,6 +487,7 @@ impl Config {
|
|||||||
|
|
||||||
let bootstrap_app = AppConfig {
|
let bootstrap_app = AppConfig {
|
||||||
vault_password_file: config.vault_password_file.clone(),
|
vault_password_file: config.vault_password_file.clone(),
|
||||||
|
secrets_provider: config.secrets_provider.clone(),
|
||||||
..AppConfig::default()
|
..AppConfig::default()
|
||||||
};
|
};
|
||||||
let vault = Vault::init(&bootstrap_app);
|
let vault = Vault::init(&bootstrap_app);
|
||||||
|
|||||||
Reference in new issue
Block a user