agent ssh unit on every agent with a store, one ssh_config, controller reads the ca key
This commit is contained in:
parent
910f9a6f50
commit
624d5f24f8
1 changed files with 99 additions and 165 deletions
|
|
@ -410,6 +410,11 @@ let
|
|||
#
|
||||
# The agent PKI grant is its only path on that mount: it can ask the one role
|
||||
# for a certificate, not write that role or reach the issuer.
|
||||
#
|
||||
# The one SSH grant is a `read` of the SSH CA, which answers with its public
|
||||
# key: the swarm UI shows it for a target machine to trust. The controller
|
||||
# cannot sign, and the signing policy it writes (`hive-agent-ssh`) is
|
||||
# attached to an agent's role by it only while the operator has switched SSH on.
|
||||
|
||||
# The identity grants name each agent's login entity after the agent
|
||||
# (`agent_entity.rs`) and disable it when the agent is destroyed
|
||||
|
|
@ -628,6 +633,10 @@ let
|
|||
path "${agentPkiMountPath}/issue/${agentPkiRoleName}" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
path "${sshAgentsMountPath}/config/ca" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
'';
|
||||
|
||||
# The identity authelia's mint creates its OIDC client secrets in the store
|
||||
|
|
|
|||
Loading…
Reference in a new issue