Hide user password in restic REST repository URL #31

Closed
opened 2023-10-03 21:17:50 +00:00 by moritz · 0 comments
Owner

The new backupbot can take as RESTIC_REPO any kind of URL. For REST server the password is part of the URL:
rest:https://user:SECRET_PASSWORD@host:8000/
Therefore there should be a way to hide the password inside a secret.

A simple and general way (independent of the repository type) would be to use a compose overwrite to add an optional secret that contains the whole RESTIC_REPO URL.

The new backupbot can take as `RESTIC_REPO` any kind of URL. For REST server the password is part of the URL: `rest:https://user:SECRET_PASSWORD@host:8000/` Therefore there should be a way to hide the password inside a secret. A simple and general way (independent of the repository type) would be to use a compose overwrite to add an optional secret that contains the whole `RESTIC_REPO` URL.
moritz added this to the backupbot revolution project 2023-10-03 21:17:59 +00:00
moritz self-assigned this 2023-10-03 21:18:04 +00:00
decentral1se moved this to Done in backupbot revolution on 2025-04-20 06:03:23 +00:00
decentral1se moved this to Done in backupbot revolution on 2025-04-20 06:03:25 +00:00
Sign in to join this conversation.
No description provided.