docs(satellite): document per-id SECRET_<id>= across deployment and design docs

- WW_DEPLOYMENT.md, DEPLOYMENT_ITALY.md (+ IT translation): add the
  per-id SECRET_<id>= snippet alongside the existing single-secret
  example so operators see both forms.
- TOPOLOGY_EXAMPLES.md: rewrite the obsolete 'future work:
  per-satellite secrets' callout in §3 to reflect the shipped feature;
  touch up §4 reference to the parent's SECRET.
- DESIGN_SATELLITE_AND_CLUSTER.md: preserve the original design body;
  add a brief postscript pointing readers to the per-id form in the
  README.
This commit is contained in:
Audric committed 2026-05-17 10:55:13 +02:00
1 parent a679ab28db
commit 28525b03d5
5 files changed
+74 -16

No files matched your search

+16
View File
@@ -380,6 +380,22 @@ LISTEN_PORT=5303
SECRET=de_satellite_secret
```
To give each regional satellite its own credential (so a leak in one
region doesn't impersonate another), use per-id entries — the id after
`SECRET_` is matched against the satellite's `SATELLITE_ID` (charset
`[A-Za-z0-9-]+`, no underscore):
```ini
[SATELLITE]
LISTEN_PORT=5303
SECRET=de_satellite_secret # fallback (optional)
SECRET_sat-bayern=secret_for_bayern
SECRET_sat-nrw=secret_for_nrw
```
Per-id wins with no fallback on HMAC mismatch. Keeping `SECRET=` is
backward-compatible: any satellite without a per-id entry uses it.
**Satellite** (e.g. Bavaria):
```ini
[GLOBAL]