Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VZBORG_PASSPHRASE from command #9

Open
redmop opened this issue Jun 6, 2021 · 1 comment
Open

VZBORG_PASSPHRASE from command #9

redmop opened this issue Jun 6, 2021 · 1 comment

Comments

@redmop
Copy link

redmop commented Jun 6, 2021

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?

@g3492
Copy link
Owner

g3492 commented Jun 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants