mirror of
https://github.com/restic/restic.git
synced 2026-06-09 00:42:42 -04:00
Add support for the RESTIC_REST_PASSWORD_FILE environment variable, which loads the HTTP password for the REST backend from a file instead of specifying it directly via RESTIC_REST_PASSWORD. If both variables are set, RESTIC_REST_PASSWORD_FILE takes precedence, consistent with how RESTIC_PASSWORD_FILE behaves for repository passwords.
6 lines
327 B
Text
6 lines
327 B
Text
Enhancement: Support loading REST server password from a file
|
|
|
|
The new environment variable ``RESTIC_REST_PASSWORD_FILE`` allows loading
|
|
the HTTP password for the REST backend from a file instead of specifying
|
|
it directly via ``RESTIC_REST_PASSWORD``. If both variables are set,
|
|
``RESTIC_REST_PASSWORD_FILE`` takes precedence.
|