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
@@ -314,6 +314,23 @@ LISTEN_PORT=5303
|
||||
SECRET=lazio_satellite_secret
|
||||
```
|
||||
|
||||
Per dare a ogni satellite provinciale il proprio segreto (così che una
|
||||
fuga in una provincia non possa impersonarne un'altra), usare voci
|
||||
per-id — l'id dopo `SECRET_` è confrontato con il `SATELLITE_ID` del
|
||||
satellite (caratteri ammessi `[A-Za-z0-9-]+`, niente underscore):
|
||||
|
||||
```ini
|
||||
[SATELLITE]
|
||||
LISTEN_PORT=5303
|
||||
SECRET=lazio_satellite_secret # fallback (opzionale)
|
||||
SECRET_sat-roma=secret_for_roma
|
||||
SECRET_sat-viterbo=secret_for_viterbo
|
||||
```
|
||||
|
||||
Il per-id vince e in caso di mismatch HMAC non c'è ricaduta sul
|
||||
fallback. Mantenere `SECRET=` è retrocompatibile: ogni satellite senza
|
||||
voce per-id lo usa.
|
||||
|
||||
**Satellite** (es. provincia di Roma):
|
||||
```ini
|
||||
[GLOBAL]
|
||||
|
||||
Reference in new issue
Block a user