From 2089c5431009d8d0758bc61146bd8a128def2473 Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Tue, 26 Sep 2023 18:35:13 +0200 Subject: [PATCH] changelog: add unreleased entry --- changelog/unreleased/pull-4480 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 changelog/unreleased/pull-4480 diff --git a/changelog/unreleased/pull-4480 b/changelog/unreleased/pull-4480 new file mode 100644 index 000000000..bafbf62e8 --- /dev/null +++ b/changelog/unreleased/pull-4480 @@ -0,0 +1,10 @@ +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 +meant it was not possible to use authentication in contexts where the repository +URL is public and parts of it are templated by other software. Restic now +allows setting the username and password using the `RESTIC_REST_USERNAME` and +`RESTIC_REST_PASSWORD` variables. + +https://github.com/restic/restic/pull/4480