Skip to main content

Module aws_grants

Module aws_grants 

Source
Expand description

The AWS grants a host shares with its container agents, as the broker has them: GET /api/v1/aws/grants lists each grant with whether it is in force, when it was added and by which recorded change, and POST /api/v1/aws/grants/decide answers a grant that is new or wider than what was allowed (identity::aws_broker::record).

Any agent may read the list. Only a native agent may answer: a container agent is the one a grant is for, so it cannot allow its own. The answer needs a reason, is recorded under the agent’s name in the Audit view and in the record, and takes effect on the next request for credentials.

StructsΒ§

DecideRequest πŸ”’

FunctionsΒ§

agent_of πŸ”’
The agent the token was minted for, and whether it runs in a container.
handle_aws_grant_decide πŸ”’
POST /api/v1/aws/grants/decide
handle_aws_grants πŸ”’
GET /api/v1/aws/grants
refuse πŸ”’