disable a destroyed agent's identity entity and delete its login role
This commit is contained in:
parent
db924d9e77
commit
299b922039
1 changed files with 528 additions and 9 deletions
|
|
@ -393,8 +393,11 @@ let
|
|||
# for a certificate, not write that role or reach the issuer.
|
||||
|
||||
# The identity grants name each agent's login entity after the agent
|
||||
# (`agent_entity.rs`). `sys/auth/cert` carries `sudo` because a plain `read`
|
||||
# of an auth mount is refused, and it is that one mount: it yields the
|
||||
# (`agent_entity.rs`) and disable it when the agent is destroyed
|
||||
# (`agent_cutoff.rs`, the `disabled` key of the by-name stanza; the role delete
|
||||
# that goes with it is the `delete` on `auth/cert/certs/hive-*`).
|
||||
# `sys/auth/cert` carries `sudo` because a plain `read` of an auth mount is
|
||||
# refused, and it is that one mount: it yields the
|
||||
# accessor an entity alias names the mount by. Every identity stanza lists the
|
||||
# request keys it takes, so the grants cannot set an entity's `policies`, which
|
||||
# would attach any policy to a login. The entity and alias names are not
|
||||
|
|
@ -439,6 +442,7 @@ let
|
|||
capabilities = ["create", "read", "update"]
|
||||
allowed_parameters = {
|
||||
"name" = []
|
||||
"disabled" = []
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue