Hide user password in restic REST repository URL #31

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

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
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/backup-bot-two#31
No description provided.