Watch
0
0
Fork
You've already forked hyperhive
0

gate ssh signing per agent: ssh permission, signing policy on the login role, ca key endpoint

This commit is contained in:
atlas 2026-11-16 18:29:06 +01:00 • committed by mara
commit 910f9a6f50

View file

@ -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.