nix: the hive's leaf does not read every secret in the store
Six more comments and option descriptions across five modules said the hive's leaf or grant reads every secret in the store. It reads swarm/agents/* and swarm/hives/<hive>/* and nothing else, so they now say that, in the wording the clientCertFile option already used. Also the matrix-ctl check's label no longer calls the hive's leaf store-wide.
This commit is contained in:
parent
f892dc6a19
commit
d39ad6c465
7 changed files with 22 additions and 20 deletions
|
|
@ -141,10 +141,10 @@ in
|
|||
a hive that reads the store at all is a hive that needs this pair.
|
||||
|
||||
⚠️ This reader's OWN leaf, not deploy.bao.clientCertFile. That one
|
||||
is the hive's, and its grant reads every secret in the store; this
|
||||
role reads the one queue-credential path. Pointing this option at
|
||||
the hive's leaf would evaluate, deploy and log in — and undo the
|
||||
split.
|
||||
is the hive's, and its grant reads every agent credential in the
|
||||
swarm and this hive's own secrets; this role reads the one
|
||||
queue-credential path. Pointing this option at the hive's leaf
|
||||
would evaluate, deploy and log in — and undo the split.
|
||||
|
||||
On a hive that runs the store, glue-bao-tls.nix supplies both as
|
||||
defaults and there is nothing to do. Elsewhere the leaf is issued
|
||||
|
|
|
|||
Loading…
Reference in a new issue