gate ssh signing per agent: ssh permission, signing policy on the login role, ca key endpoint
This commit is contained in:
parent
aeb9317ad1
commit
910f9a6f50
1 changed files with 805 additions and 57 deletions
|
|
@ -97,6 +97,11 @@ pub struct AgentPermissions {
|
|||
/// or agent acts on it.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub max_repos: Option<u32>,
|
||||
/// Whether the agent may have its SSH key signed by the swarm's SSH CA. Absent
|
||||
/// is off. Only the controller reads it: it attaches the SSH signing policy
|
||||
/// to the agent's store login role while this is `true`.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub ssh: Option<bool>,
|
||||
}
|
||||
|
||||
/// What an agent whose record has no `max_repos` may create: no repositories.
|
||||
|
|
|
|||
Loading…
Reference in a new issue