correct the ssh revocation docs and say the sign permission is shared
This commit is contained in:
parent
0afb111862
commit
aeb9317ad1
1 changed files with 30 additions and 6 deletions
|
|
@ -81,3 +81,14 @@ NixOS then writes `/etc/ssh/authorized_principals.d/<user>` and sets
|
|||
Egress. The default `egress.forward = "log"` lets a direct connection from an
|
||||
agent to a machine's SSH port through, and `reject` blocks it; there is no
|
||||
per-agent allowance for it yet.
|
||||
|
||||
## Revocation
|
||||
|
||||
Every agent shares the role, which holds nothing per agent, so there is no
|
||||
per-agent signing switch. `swarm-controller`'s renewal pass (`agent_renewal.rs`) re-mints
|
||||
the store identity, and writes the cert-auth role `hive-agent-<name>` back, for
|
||||
every agent a hive still declares, so deleting the role doesn't stick. Nothing
|
||||
in the controller deletes the role when you destroy an agent; the renewal pass
|
||||
skips a destroyed agent and its identity lapses with its 7-day
|
||||
certificate. A target's `principals` list is the immediate control. A
|
||||
certificate already signed stays valid for at most `max_ttl` (180 minutes).
|
||||
|
|
|
|||
Loading…
Reference in a new issue