swarm-controller: move the secrets concern into its own module
Refs #6897
This commit is contained in:
parent
7c7c94d184
commit
6d0c0dc391
1 changed files with 35 additions and 25 deletions
|
|
@ -57,7 +57,7 @@ let
|
|||
|
||||
# What the role pins. `{{identity.entity.name}}` is the name of the entity the
|
||||
# agent's cert login lands on, which swarm-controller sets to the agent's name
|
||||
# (`swarm-controller/src/agent_entity.rs`); with `allowed_users_template` the
|
||||
# (`swarm-controller/src/secrets/agent_entity.rs`); with `allowed_users_template` the
|
||||
# engine checks every requested principal against it, and with
|
||||
# `default_user_template` an unrequested one defaults to it, so a certificate
|
||||
# names its holder's own agent and no other. `allowed_user_key_lengths` limits
|
||||
|
|
|
|||
Loading…
Reference in a new issue