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

Support password as environment variable #1566

Closed
jpic opened this issue Jan 18, 2018 · 3 comments
Closed

Support password as environment variable #1566

jpic opened this issue Jan 18, 2018 · 3 comments
Labels
type: question/problem usage questions or problem reports

Comments

@jpic
Copy link

jpic commented Jan 18, 2018

Hello !

For situation where we don't want to store the password on the server, and control everything through a remote orchestration such as ansible which can execute one shot commands using crypted inventory variables, it would be great to support password as environment variables. (Meanwhile, I'll just create the file and delete it, and hope no human interrupts the software or whatever and leaves the cleartext password file on the server).

What do you think ?

@rawtaz
Copy link
Contributor

rawtaz commented Jan 18, 2018

@jpic There's already what you're looking for, RESTIC_PASSWORD as well as RESTIC_PASSWORD_FILE and RESTIC_REPOSITORY.

@rawtaz
Copy link
Contributor

rawtaz commented Jan 18, 2018

@fd0
Copy link
Member

fd0 commented Jan 19, 2018

Thanks for the answer @rawtaz, closing.

@fd0 fd0 closed this as completed Jan 19, 2018
@fd0 fd0 added the type: question/problem usage questions or problem reports label Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question/problem usage questions or problem reports
Projects
None yet
Development

No branches or pull requests

3 participants