Watch
0
0
Fork
You've already forked hyperhive
0

disable a destroyed agent's identity entity and delete its login role

This commit is contained in:
atlas 2026-11-16 16:50:53 +01:00
commit 299b922039

View file

@ -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" = []
}
}