vzborg
vzborg copied to clipboard
VZBORG_PASSPHRASE from command
Is it possible to add the ability to have the output of a command be the password?
Something like: VZBORG_PASSPHRASE=$(getpassword vaultname)
Where 'getpassword vaultname' outputs a password?
Hi, I don't see any problem if you assign the value in this way in the configuration file. If it is valid bash, it will be executed and asigned to VZBORG_PASSPHRASE with each execution of vzborg. Just test it, and let me know if you have problems.