security: root-only backup credentials, internal-only key feed, corrected cadence
This commit is contained in:
1 parent
d106f7cf01
commit
5ad233c612
3 files changed
+22
-14
No files matched your search
@@ -87,10 +87,15 @@ having failed.
|
||||
### Other mechanics
|
||||
|
||||
- Weekly `restic check` on Sundays (repo metadata); full data check monthly.
|
||||
- The passphrase (`RESTIC_PASSWORD`) lives in `~/.hermes/.env` **and** the co-op
|
||||
Vault. A backup whose key exists only on the backed-up box is not a backup.
|
||||
- S3 credentials come from `SWB_S3_ACCESS_KEY` / `SWB_S3_SECRET_KEY` (mapped to
|
||||
`AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY` in the script).
|
||||
- Backup credentials (`RESTIC_PASSWORD`, `RESTIC_REPOSITORY`,
|
||||
`SWB_S3_ACCESS_KEY`, `SWB_S3_SECRET_KEY`) live in **root-only
|
||||
`/etc/agent-backup.env`** (0600) and in the co-op Vault — never in the
|
||||
steward agent's `~/.hermes/.env`. The systemd timer runs as root; the agent
|
||||
can run the backup but cannot read or delete its credentials.
|
||||
- **Append-only is not configured.** The Swiss Backup S3 bucket has no object
|
||||
lock / immutability policy enabled, so stolen S3 keys can still delete
|
||||
snapshots. This remains an open item; the root-only split only reduces who
|
||||
holds them.
|
||||
|
||||
## 2. Cloudron app backup
|
||||
|
||||
|
||||
Reference in new issue
Block a user