restic/changelog/unreleased/pull-4480

11 lines
522 B
Text
Raw Normal View History

2023-09-26 16:35:13 +00:00
Enhancement: Allow setting REST password and username via environment variables
Previously, it was only possible to specify the REST server username and
password in the repository URL, or using the `--repository-file` option. This
2023-10-23 17:01:45 +00:00
meant it was not possible to use authentication in contexts where the
repository URL is stored in publicly accessible way. Restic now allows setting
the username and password using the `RESTIC_REST_USERNAME` and
2023-09-26 16:35:13 +00:00
`RESTIC_REST_PASSWORD` variables.
https://github.com/restic/restic/pull/4480