Hide user password in restic REST repository URL #31
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/backup-bot-two#31
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.