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:
1 parent
a679ab28db
commit
28525b03d5
5 files changed
+74
-16
No files matched your search
@@ -308,6 +308,22 @@ LISTEN_PORT=5303
|
||||
SECRET=lazio_satellite_secret
|
||||
```
|
||||
|
||||
To give each provincial satellite its own credential (so a leak in one
|
||||
province 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=lazio_satellite_secret # fallback (optional)
|
||||
SECRET_sat-roma=secret_for_roma
|
||||
SECRET_sat-viterbo=secret_for_viterbo
|
||||
```
|
||||
|
||||
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. Roma province):
|
||||
```ini
|
||||
[GLOBAL]
|
||||
|
||||
Reference in new issue
Block a user