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 ?
@jpic There's already what you're looking for, RESTIC_PASSWORD as well as RESTIC_PASSWORD_FILE and RESTIC_REPOSITORY.
BTW, It's mentioned here: https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html
Thanks for the answer @rawtaz, closing.
Most helpful comment
@jpic There's already what you're looking for,
RESTIC_PASSWORDas well asRESTIC_PASSWORD_FILEandRESTIC_REPOSITORY.