now vault prompts for password if no password file was given, as in 1.x
This commit is contained in:
parent
a8ba9cac3f
commit
f66ba92745
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class VaultCLI(CLI):
|
||||||
if self.options.vault_password_file:
|
if self.options.vault_password_file:
|
||||||
# read vault_pass from a file
|
# read vault_pass from a file
|
||||||
self.vault_pass = CLI.read_vault_password_file(self.options.vault_password_file)
|
self.vault_pass = CLI.read_vault_password_file(self.options.vault_password_file)
|
||||||
elif self.options.ask_vault_pass:
|
else:
|
||||||
self.vault_pass, _= self.ask_vault_passwords(ask_vault_pass=True, ask_new_vault_pass=False, confirm_new=False)
|
self.vault_pass, _= self.ask_vault_passwords(ask_vault_pass=True, ask_new_vault_pass=False, confirm_new=False)
|
||||||
|
|
||||||
if not self.vault_pass:
|
if not self.vault_pass:
|
||||||
|
|
Loading…
Reference in a new issue