agentmux_srv_core/identity/aws_broker/mod.rs
1// Copyright 2026, AgentMux Corp.
2// SPDX-License-Identifier: Apache-2.0
3
4//! AWS credentials for container agents, brokered per use.
5//! Spec: docs/specs/SPEC_CONTAINER_AGENT_AWS_CREDENTIALS_2026_10_31.md.
6//!
7//! A container agent's SDK runs `agentmux-bashwrap aws-credentials --profile <grant>` (a `credential_process`), which
8//! asks `POST /api/v1/aws/credentials` (`server::app_api::aws_credentials`) with the container's token. srv checks the
9//! host's grants ([`policy`]), reuses or mints a session on the host ([`sessions`], [`mint`]) and answers with the
10//! credentials or a sentence ([`request`]). Nothing is written into the container.
11
12pub mod container;
13pub mod mint;
14pub mod policy;
15pub mod record;
16pub mod request;
17pub mod sessions;
18pub mod tools;