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

@ -27,11 +27,11 @@ use crate::routes::hives::{HiveEntry, ServiceLink};
use crate::routes::{self, AppState, agents, config_prs, forge_admin, hives, jobq_graph};
use crate::{
agent_commands, agent_control, agent_custom, agent_icon, agent_input, agent_limits,
agent_login, agent_permissions, agent_renewal, agent_state_stream, agent_status, agent_todos,
agents_md, alerts, archetypes, auth, backend_env, bash_task, builder, claude_login,
config_drift, config_pr, egress_allow, egress_deny, forge, forge_account, github_account,
gitlab_account, inference, issue_report, linked_accounts, matrix_account, message_stream,
notify_flows, notify_router_api, pause_hold, pr_report, pulls, queue_identity,
agent_login, agent_permissions, agent_renewal, agent_ssh, agent_state_stream, agent_status,
agent_todos, agents_md, alerts, archetypes, auth, backend_env, bash_task, builder,
claude_login, config_drift, config_pr, egress_allow, egress_deny, forge, forge_account,
github_account, gitlab_account, inference, issue_report, linked_accounts, matrix_account,
message_stream, notify_flows, notify_router_api, pause_hold, pr_report, pulls, queue_identity,
review_classifier, schedules, status, subagent_term, term_stream, wanted, webhook,
};
@ -278,6 +278,7 @@ fn spawn_forge_workers(
forge::runner_token::spawn(Arc::clone(&client));
if let Some(queue) = queue {
forge::agent_max_repos::spawn(Arc::clone(&client), queue.clone());
crate::agent_ssh::spawn(queue.clone());
crate::cache_miss::spawn(
queue.clone(),
Arc::new(wanted::WantedWriter::new(queue)),
@ -644,6 +645,7 @@ pub(crate) fn build_app(state: AppState) -> axum::Router {
agent_permissions::delete_agent_permissions
))
.routes(routes!(agent_permissions::get_permission_catalogue))
.routes(routes!(agent_ssh::get_ssh_ca))
.routes(routes!(
egress_allow::get_allowed_domains,
egress_allow::add_allowed_domain,