restic/changelog/unreleased/pull-REST-password-file
Friedrich Große b947431bf6
Enhancement: Support loading REST server password from a file
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.
2026-03-10 14:58:09 +01:00

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.