Files

Everything in this kit: 28 files. Open one to read it, copy it, or download it. To try the feature, use the POC script page. These files are for whoever maintains or redeploys the kit; its poc/README.md explains how, and they run inside the full project: download the whole project (zip).

Makefile

Download

SHELL := /bin/bash
.SHELLFLAGS := -eu -o pipefail -c

KIT         := $(notdir $(CURDIR))
PROJECT     := field-kit-$(KIT)
ROOT        := $(abspath $(CURDIR)/../..)
TF          := terraform -chdir=poc/terraform
PROFILE     ?= supernova
REGION      ?= us-east-1
COST_CENTER ?= poc
COST_DAYS   ?= 7
CFG         := build/config.json
PY          := .venv/bin/python

export AWS_PROFILE := $(PROFILE)
export AWS_REGION  := $(REGION)
export PROJECT
export TF_VAR_project_name := $(PROJECT)
export TF_VAR_cost_center  := $(COST_CENTER)

.DEFAULT_GOAL := help
.PHONY: help preflight venv deploy outputs demo verify screenshots diagram cost destroy

help: ## Show targets
	@grep -E '^[a-zA-Z0-9_-]+:.*?## ' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "  %-12s %s\n", $$1, $$2}'

preflight: ## Check credentials and tools
	@out=$$(aws sts get-caller-identity --query Arn --output text 2>&1) || { \
	  echo "AWS profile $(PROFILE) has no valid credentials: run mwinit, then retry."; echo "$$out" | tail -1 | cut -c1-200; exit 1; }; \
	  echo "AWS identity: $$(echo "$$out" | sed -E 's/[0-9]{12}/<account>/')"
	@for t in terraform aws jq python3 curl uv; do command -v $$t >/dev/null || { echo "missing tool: $$t"; exit 1; }; done

venv: .venv/.installed ## Create .venv with the boto3 release that knows the preview APIs

.venv/.installed: poc/requirements.txt
	python3 -m venv .venv
	.venv/bin/pip install -q --upgrade pip -r poc/requirements.txt
	@touch $@

# Terraform first (bucket, policy, role, network, trail), then the script for what
# Terraform has no resources for (workload identity provider, template, runtimes).
deploy: preflight venv ## Create the POC and write its outputs to build/config.json
	$(TF) init -input=false
	$(TF) apply -input=false -auto-approve
	$(MAKE) outputs
	$(PY) poc/agentctl.py deploy

outputs:
	@mkdir -p build
	$(TF) output -json > $(CFG)

demo: ## Scripted demo: the policy, agentA, agentB, then the CloudTrail evidence
	poc/demo.sh

verify: ## Prove the POC works end to end
	poc/verify.sh

screenshots: ## Capture docs/screenshots/*.png from the running POC
	poc/screenshots.sh

diagram: ## Render docs/architecture.png
	python3 docs/diagram.py
	$(ROOT)/shared/diagrams/render.sh docs/architecture.html docs/architecture.png

cost: ## Cost Explorer: last COST_DAYS days by service for this kit (needs make cost-tags at the repo root; lags up to 24h)
	@start=$$(date -u -v-$(COST_DAYS)d +%F); end=$$(date -u +%F); \
	echo "Unblended cost $$start to $$end, tag Project=$(PROJECT)"; \
	aws ce get-cost-and-usage --region us-east-1 --time-period Start=$$start,End=$$end --granularity DAILY --metrics UnblendedCost \
	  --group-by Type=DIMENSION,Key=SERVICE --filter '{"Tags":{"Key":"Project","Values":["$(PROJECT)"]}}' \
	  --query 'ResultsByTime[].Groups[].[Keys[0],Metrics.UnblendedCost.Amount]' --output text \
	  | awk -F'\t' '{ s[$$1] += $$2; t += $$2 } END { for (k in s) printf "  %10.2f  %s\n", s[k], k; printf "  %10.2f  TOTAL\n", t }' | sort -rn

# The script first (runtimes, template, provider, runtime log groups), because the
# runtimes hold network interfaces in the VPC that Terraform is about to delete.
destroy: preflight venv ## Remove everything and list leftovers (each list should be empty)
	$(PY) poc/agentctl.py destroy
	$(TF) init -input=false
	@$(TF) apply -destroy -input=false -auto-approve || { echo "destroy failed; retrying once"; $(TF) apply -destroy -input=false -auto-approve; }
	@rm -rf build
	@echo "== Leftover check for tag Project=$(PROJECT) (KMS keys pending deletion are expected)"
	@aws resourcegroupstaggingapi get-resources --tag-filters Key=Project,Values=$(PROJECT) \
	  --query 'ResourceTagMappingList[].ResourceARN' --output text | tr '\t' '\n' | grep -v ':kms:' || true
	@echo "-- log groups:"; for p in /$(PROJECT)/ /aws/lambda/$(PROJECT); do \
	  aws logs describe-log-groups --log-group-name-prefix $$p --query 'logGroups[].logGroupName' --output text; done
	@$(PY) poc/agentctl.py leftovers
	@echo "-- terraform state entries: $$($(TF) state list | wc -l | tr -d ' ')"
README.md

Download

# AWS IAM for agents

Gives each AI agent its own verifiable identity on top of its IAM role, so policies and CloudTrail can tell agents apart.

Naming: often called "Bedrock IAM for agents". Official name: AWS IAM for agents (agent and workload identity, preview). Not AgentCore Identity.

## At a glance

| | |
|---|---|
| Status | Preview, subject to change |
| Announced | 2026-12-01 |
| Regions | All commercial Regions; POC ran in us-east-1 |
| Price | No additional charge during preview |
| Demo | [POC script](poc/quickstart.py) |

## Why it matters

- Policies can allow or deny one named agent with `aws:OriginIdentity/Subject`.
- CloudTrail can attribute actions to an agent, even on a shared role.
- No new credential system: the identity joins the existing role session.

## Good fit

- Many agents on AgentCore Runtime or Amazon EKS sharing roles.
- Data owners wanting policies that name an agent.
- Audit teams asking "which agent did this".

## Not a fit

- Production workloads needing GA terms.
- Existing AgentCore runtimes or gateways: cannot be enabled after creation.
- Agents on Lambda, ECS or EC2: no integration published.

## Gotchas

- Enable identity at runtime creation; it cannot be added later or removed.
- The agent also holds plain execution-role credentials in preview: Deny statements are required.
- X.509 identities cannot be revoked; prefer JWT-SVIDs.
- Docs say CloudTrail shows `userIdentity.onBehalfOf`. Observed: absent; join `GetIAMWorkloadIdentityCredentials` events by role session name.
- Post-preview pricing is not stated; do not promise free.

## Try it

The [POC script](poc/quickstart.py) invokes both agents and prints the CloudTrail attribution. It needs a deployed POC.

Observed 2026-12-01 on one shared execution role: agentA read the object, agentB got AccessDenied.

Source: [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html), read 2026-12-01.
docs/architecture.html

Download

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AWS IAM for agents: two agents, one role, two identities</title>
<style>
  html, body { margin: 0; padding: 0; background: #FFFFFF; }
  svg { display: block; font-family: "Amazon Ember", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  .title { font-size: 26px; font-weight: 700; fill: #232F3E; }
  .subtitle { font-size: 16px; fill: #455A64; }
  .grp   { font-size: 15px; font-weight: 700; }
  .name  { font-size: 15px; font-weight: 600; fill: #212121; }
  .sub   { font-size: 13px; fill: #545B64; }
  .mono  { font-size: 12.5px; fill: #37474F; font-family: Menlo, Consolas, monospace; }
  .note  { font-size: 13px; fill: #37474F; }
  .ital  { font-size: 13px; fill: #455A64; font-style: italic; }
  .leg   { font-size: 14.5px; fill: #212121; }
  .edge  { font-size: 13px; fill: #37474F; font-style: italic; paint-order: stroke; stroke: #FFFFFF; stroke-width: 5px; stroke-linejoin: round; }
  .lane  { font-size: 13px; font-weight: 700; fill: #7D8998; letter-spacing: 1.5px; }
  .big   { font-size: 17px; font-weight: 700; fill: #212121; }
  .load  { fill: none; stroke: #232F3E; stroke-width: 2.6; }
  .canary{ fill: none; stroke: #1B66D6; stroke-width: 2; stroke-dasharray: 8 5; }
  .ctl   { fill: none; stroke: #5A6B7B; stroke-width: 1.5; }
  .tel   { fill: none; stroke: #1D8102; stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; }
  .acc   { fill: none; stroke: #7B3FE4; stroke-width: 1.6; stroke-dasharray: 10 3 2 3; }
  .pull  { fill: none; stroke: #90A4AE; stroke-width: 1.4; stroke-dasharray: 3 4; }
  .kill  { fill: none; stroke: #D13212; stroke-width: 2; stroke-dasharray: 2 4; stroke-linecap: round; }
  .badge circle { fill: #ED7100; }
  .badge text { fill: #FFFFFF; font-size: 14px; font-weight: 700; text-anchor: middle; }
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" width="1370" height="825" viewBox="0 0 1370 825">
  <defs>
    <marker id="a-load" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#232F3E"/></marker>
    <marker id="a-canary" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#1B66D6"/></marker>
    <marker id="a-ctl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#5A6B7B"/></marker>
    <marker id="a-tel" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#1D8102"/></marker>
    <marker id="a-acc" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#7B3FE4"/></marker>
    <marker id="a-pull" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#90A4AE"/></marker>
    <marker id="a-kill" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0 L10 5 L0 10 z" fill="#D13212"/></marker>
    <!-- official AWS architecture icons (awslabs/aws-icons-for-plantuml, 64 px), embedded so the file is self-contained -->
    <symbol id="i-agentcore" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAWISURBVHgB7ZvPb1RVFMfPEH8sNIqLstCSFEMwsV1ATSAQoiMLYaEOq7oCCnFtQ/+AEthbU9em0upCXZA2cUE3MGwgktjWxJqAUEoAF8zCYtTwIwHu5w5neufxZubd96Od5s03eZnJfT/mnu8995zvufdNofDDl08kx9ggOUeHAMk5OgRIztEhQHKODgGSc2ROQLGrWxY//tweR3p6pd1QyEoKY/hI3x4pbuqua1/67x85+fslmVhakHZA6gT0vPKanOjdLUe2VEd7+dEDa/C9R/dlpHePPQ/ahYjUCNj44ssytK1fht7pt9/ByYVLMnZl1pKgGNzy7nNEvP3zN7JWSIUADD/Rt7tmuGLDj6MN74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0z3wXWvFhDDIXL+E7RjbL1zrS1AXFZ5Uhqs9X5ESBdxD0LXrcXSPdJwwWNEFwnnvwMiVgMqM9xNhZoFXRw0iz9aXxgGuOXT4baRQhSktgFTxZ7TukngZ1k1TXBOj88Nz5OsKiAA9T8lCWWSF1Aui0Gq+rQHFSFnFAV3suVLIZfZA6AYw02SGpQoO01dg2z0QJHp8vy3pBKvsCrd798VGIq41EBGhEp9ylotv+RlfdeR+FuFZIRABzVFMbmxezHx2qyWQWKyAF9Wfzv9kvaMf3BxLHAIqYqdvXrRxWmewuizVaFvfdLcoKqcQAVXgqk93230xJ6674uNMCZCFvfZDJe4LBV+V0XZD2uLtFWaGQ5X+GiAvjuw7YTxe+u0VZorAaf5rSdwMBQbOdgmGh86+xnKNDgOQcHQIk5+gQIDlHhwDJOZ4CblQt6ZYlZM8AAAAASUVORK5CYII=" width="64" height="64"/></symbol>
    <symbol id="i-cloudtrail" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAAEx0lEQVRoBe1YW2wUVRies3PZbXehF2wBS7i2SJFoJESqpLVIxVpCTAwmBGIJ1hBIURPLgwkYby8+aMKL1ZAIjQEEWqoQoobAAyFgDBhaUjGigCLQFrp0dnvZy+zM+I9jyjizZy571lGSM9mHM////fdzzv/Pov6y7cz9/ATuZ+c132kA/3UFaQVoBQgzQLcQYQKJxWkFiFNIqIBWgDCBxOK0AsQpJFRAK0CYQGJxWgHiFBIq4AjljeKBopBQXxWsrxRq5yKBU1OSEh1PHu1LdPYod0aNyDyuUX6+iblA5PWnwltrUVjI4lxGGd/9ffzdbxlJzsIlI+WhAigSLPmiWVg6CzxJn72WOv5z6uRlJTqGghz3UHnB+iWhxgWFm57gF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f9BcwhgWv97ANf3rr42SlvpE7vcCjYKOq5hWoHvT/hvxhHpEICjfB4ByvC4fGVI6huAUVf64Q+Xmv+PZ8Cl6zrMwzTqSa9vYBqAb6nGGKIVwCTGNzKtgG+pxhiiFcAkxjcyrYBvqcYYohXAJMY3Mq2Ab6nGGKIVwCTGN/KfdZSQk0NzRJsAAAAASUVORK5CYII=" width="64" height="64"/></symbol>
    <symbol id="i-g-cloud" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEAAAAABAAAAQAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAACDLebYAAAACXBIWXMAAAnYAAAJ2AHHoLmtAAACymlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj42NDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x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NjSFfi7BfchRRjhI5WhGxmdQViEwaoRe4oY7QELm8KLGzYa2MqqKjBR2vjeFiF8qxRnUxEf5CV7rFBw5DLg64DEEG+lOoPfLG8IkLsszQWuB0LEibCjRGXU24LDLGtdREzabDy66D75SDIJ4WFhqrbP7PHbNJ7RLlJSU1sr6XMJDn6Zg1fWsvZwVghPQUKwFGTFTlDM6XUYofLG+S1xtAsYxOdbM2AQAHtaZwYozuItymoaUXv+qJoOScjA3Iw0pCbFq6InC51+8lDcrSUNZipMREkovUqfENEudcbq6lplSy6UlILlsg8208NoNiQ6NRPukoQxLCeho4m4QmSEnzFhAKWW8TtFmhkja4j8CFp+pUmYQZdVM4CCGDzPMIQHesDPyx16USNKj1ncVLN8/a2sv4rq0/WyVlLfoTYBE5MD4CEWnerXIm6Qoa2NeAzaDo59lzYmDBiOAG+Tvpz6R/9N10dbQeYwHjBJaYsfLk1CRFu3iK5ID9e6SQHVUdZyj04efu4elA7eNL/00H3SVY5gJoajYtH7mDNg+KnCC2laFEZieGNDBMj7cEJUfijrGSjxISO5n72l+jz8bEvfLXKDlgK7fp3QKE0jk4RQTUQzbqp9n8QTkZGd5E2hemsuHmfArXlvY4f1uASMHS9vTUjjEnBr3tvYYT0uAWPHy1sT0rgE3Jr3NnZYj0vA2PHy1oT0f5uBueaAbWQUAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
    <symbol id="i-g-private" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEAAAAABAAAAQAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQA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JGk4bCB5EXRdAxCtrxcCRPe3Ee82Fd8I3ncFz00A7gozbKAQmx6wgeDfFaz/D7zef9MVEhBbAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
    <symbol id="i-g-region" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEAAAAABAAAAQAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAACDLebYAAAACXBIWXMAAAnYAAAJ2AHHoLmtAAACymlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj42NDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NjQ8L3RpZmY6WFJlc29sdXRpb24+CiAgICA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CDdaIeoHU98AzgfNymWAXP37hGAJVTTOsBWS3ufc5IJphdF9wDYaJ5RggwGaDbvy0S4DbDXtdf9ACvW8jt8RU9wG2Gva6/6AFet5Db4zP2AC9neYWQZ0yAfgDR53t1qosX97r3f39n9DBE9rhBkhLH+SZKVrmCEDaN4Xsc3CXGHaSUv/Dk5tY+IdWBjQ/bBPD11TgeQG+NsQqHM8rTglL1QEptmpMxVGv493nuE9BFUVyHQQY203pGbBFAy7MYUQ2Lb59Xpd7i+AHsDrbGLktUKHBzsTHi9ZrHZVFpRFKoEvlRrjh+966c5oYmtLVavHSLMZ+df5ria6levKPbhk1JB3a8oSoxhQzw08M/yScdnfIYavndINALYssDhjl4WP86rPkl9gOHUZNjBShbrGSZDteY9rS6Lohyc9NZbJxi8XLAI+BpAFsewB+W4GAtTrCBYUoxiuj/C5IGj5RKHMRhT5dnxJYHcPSM5ixIPhGLTnrFTJw8GPezsR8XOeFrLoLn92zjBbFNAAfPel+njvAFoNH5gFfAc8hGBFCBBsXrh1GMM8GHEXT+mIsE5LMxG6+LHjAbrZ6P+R+aBzUKW/2DWAAAAABJRU5ErkJggg==" width="64" height="64"/></symbol>
    <symbol id="i-g-vpc" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEAAAAABAAAAQAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAACDLebYAAAACXBIWXMAAAnYAAAJ2AHHoLmtAAACymlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9i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VtqLxHw17EnOqhp31azTbUQC+RsZqFFGPekCjwPo1mvSI94D/Ax0kUOCk2C4wAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
    <symbol id="i-laptop" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAEZ0FNQQAAsY58+1GTAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAA6RJREFUeNrtm0toE1EUhu+5mRhtrI8QxRfYGrXFPjUgSI0OokuhLooI4gNdiV0I7l2Iiu5c6FIXIj4q6EIUimBIUsVFpUkoWJkErYqC0tZHLUkz93imzWh0atR0YXNzfyhz7zCE/N85574yZUypsgW/3tB1XXszkm1E5E0InEthUuAoaq6+1NOwURTAqpbNazmDm8hYi6QBv5Gpyh18/fjxmH2DF0ZecvOWds8e1U4X3tDsxuth0WSbR2ARYHBJHt/CQ6ZOUGMZedtL12MOAAwxYBcER7hgxCM3ZQo9lfdGCuohavpXBbfPT/c++PgzgEIhCrssXo2YxxiydWU4upML0ZVK9tyf6CMIO8DCzIEzA6ZQ3vy5cow4TqQy31fTpDe+SIaf/e45/odPCZZ55rtcYLYWe0D7A0ewZ8pUPArl4jrQGmqn4N2ejCEW/d5SLHSmIwVAAVAAFAAFQAFQABQABUABUAAUAAVAAVAAFAAFQAFQABQABUABUAAqR9rfPhhoCT0sG1eI/ilefikBALC3k78yTkgvn7j+MM85eSi1BHIuOEs4rchnyzC7RxjgeaMvFi45A172Ri162ypjEHSx999LCNiWYDDolsXkioZNPqoK+2fysZoF7IsjAzxZV29GM4eo5H3U7RzJVXXSwCdfyJE9DIfDOUcG9PeHvyDDwxYhafMd2aDG4OjUw2Ve1ruCdNkFDOrlcQ5ZAJZgnswV48mTT0ypSAZYamjQ5466mV8moy/WLHrFurrMogDWBnW/mRMXqVg6JAz2GCKeTSdiJ6ktfkx+BTAWLl5xh647Jc12NwDovqUrvw6/G+xxTINrNmypFybuyHcH6OHrQgiUYrEDfA7NcEeoWU0zQSddzzkACFPU2xWBACdTfZGrMoU/0BxaQvb2W+uiurq26oGBns8/AQAEl/1GHReYmSlfvLYx1Mw1WF/SCC/YsJGI3M3X/Pf9TGaO2/XP2+H/Ietd5cFh8xFtb70lrXsooKubQx1GInqrLA9EhoZmeciDdzqfgZwtLHk7XAma0QB8vqw1Fk1v6Yr4oeTzgP8ta9cW2KAHmRBtJQ2CyN4a8Wj33wHgbNw+/qK6mTtTIOT/08uY/pofvTg5zeM8MWvcAYCbmDQ52NvGM4GW0FaJSp0WQqw9TyKdiHePOgA8T8bSgdbQNTK/h7pL6O+AlEcCiKcK+4V7AeatXX5PG4fZNIHWEakqybwbtBw+no7HLqtDACUlJVvfAKe9JJ8ao3kKAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
    <symbol id="i-role" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAEZ0FNQQAAsY58+1GTAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAOxAAADsQBlSsOGwAACb5JREFUeNrtWgtQVNcZPufcZQGxvlKMoDbI00e0URZ8piXakAIL1WlNU02cyZi2I9NoxklSk7YZ0yTtmDG26kTTNqY1TnUqbVQWsbGm0fEVZZdEU02FXRaDopYYEQkg7D1/vwsXuLsuuvJQ095/5nLvef/n+//zP87CmEkmmWSSSSaZZJJJJplkkkn/f8RvNwPuCXOGCqs6WGUyRiGKVjmv0eoF8YoEl+PT/ykAyhOzwtkgZarC2SxGbBYxlo5q5TpDroLFjxmT+4nT7lp54T2by9XypQPAm5o7WmW0lHM2H8V+PeD2EiPaKhXLmqQ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Faikd9tN0vmeFC3cakWNZ2C8SGB5U4UUGiq+h3rUCn26eKIA47KADe+2YPkmG+RYwan8TEMTyoVtCTVN//e25bzltC8ALdH3cazdafvFoexppadAZLTuGtp7UzarlhtIvOiVoEJy2+Jk+q/W8Y9EaCy3GgNdY/WuyE1JEU8YWYanAAb9AGfshq7bfipm+E3Kn2xZDQC2DyLkN1M9DcLIVYqRA9gLZfo65/wFBIiB9nJCt0v56tp6NBo2qsXA7DchrzXmy9AO30iha4vjHtRiyYYqL995w1bQzVkHZogGR62syXJjgdv7kGAKjdW3g9btwUVPVNssjVRtehnVsuxLOC88cDgAru7hg7gH67sdkSX4TiHH2wMCT74Z0yO076WqBB/DEUJwU0az+EbBKSbxxV6vjA/2rsWwOJ+kUj8BqhMD6SWoMtGqtpS5cAlKfmThKcXHrxCpR1har41mLjdV0ymJERoV6J+iFc1MvMYFh0KoU032hsiNyCZKm+x8bSljeRk1yEOR9tvTEO1D6iWqiPdsEzMoTpchKcRcV+AFSkZX+DSOzruFDkfCsO0374V49Q2FnBLS2sWR3W6g45S5bEJoAZzcWNC5j8jBaAJLiKNvdF7K+Fv1dbwhYiDskP+JksFNI8xQa45vz2HIYbb2ErUp1/Rc2cbvKmqfWqSOKvxrocDX2dBGmuGUYwg3ORB/WegFhA6PFJHW+LUT4FQDVcyhoc1/8wRTndcCXss0Bt5IGTVqTaf4yQfTEaxoTAh/bPDPswcJvVGrktmO++06lLX+RJz05mUhmPDqPhVnR3yeuI5OcawiIs7MSoD7ZXMpNMMskkk0wyySSTTDLJJJNMMunLRv8FBlHSq4zYY+UAAAAASUVORK5CYII=" width="64" height="64"/></symbol>
    <symbol id="i-s3-bucket" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAEZ0FNQQAAsY58+1GTAAAAAXNSR0IArs4c6QAAA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JACBbylsCo1qTt/EmEBqYDvEwKYmgqQsFVq68NCwoAKhf5vkxNaNnAGroMfpwFBARA5I8l15h2FO1takKteOhCpZJfCCoAmkmBi7VNTag5AdVnAYW26dfKg6sDtK33sFWKbnJClQPyA32Q+yljHsUSppuckCn6Z3wd6kavQQXA27R4m5yQ4P5wQ7OiwMA4wGtioai9QgkABaFn9WJECwHgdKryMxiXbgs/mJtjeT0UFj9vfdwYMs3Lq0028oPNCKP9fFl2bCYymOulF34gs7iSgdja1Df5wSzyP1g4umjh+A5dPuOlqJZnTSr6bYsBIJOic3Isc2jR7zPtO0Hvab5FFHlMgX8TSx5fPNF+IVgLnp2TkMTB9VMusC+RIHP8fVntVJ78oi3rXIRjYXP+oyzgo2j5hYcA4gRgb7CadHTdUkaAnXFrZWR25MxBfvQlTaHySq5CoZcbG0HKK879SSBCMo2Pplay27sDoOAL2zXwDimSm2nMkqyJ9u/vI5PUvDJrTUy0waAMRyZGAMDLPv6vqCWK/H+g/RST/NPEYevCiXbH/SdSglTm53TsoTI1laZM5ci6ouY2d2FNZZ4blrkrpKPJ/OIp4o6TqhDflFQWn/DnH6FaBYAGOWVj+04KM7VRnCxOKBhPusKn2ChCueQC112GhhslVYUFwV7oo/Ko+C7/AwRRSfTWNpSAAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
    <symbol id="i-vpce" viewBox="0 0 64 64"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAEZ0FNQQAAsY58+1GTAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAOxAAADsQBlSsOGwAADkJJREFUeNrtWwt0FNUZ/u9ssogSwYJFBDUqbxVBKyoeBcECKkk2aHxWRauAz0JegEfbDS2oJAHFUiFaFaQoppBkQ1UQU1BROJ7iWwGrvDzyUHklQLLJzu33z97Z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QHS/Uzp7ppvOMokZpxWNoYeBfNw+3tlk7e0jW6Rx1LSXhRaTWONvuGInlJU53I/FEDEGK9dHkbWs+xmCne0Hiaj6XwyYxEEK4OPrF7e72leje44HeQ+deblZ0+mgnBT+gJs/OUNeGg8gmL+GQGH2o6WqI5suSQFmLHkWlGkznDydEbKDuanU8oABZFdCMFg43UsFebER6XwSJXAZA3J/lEtaP+0mQnWI6hDKxKZnQO++Qj3u9vzunyhABg6gY+isansfDYO8Jg2wAEJ0Z3grjdbOdVDoGzPCcoAPvYEGyWdRzVNff/ExIKQJO4Pl1eYhxIEsY/PHU8yu6+Bvu/xMkMu3j+RwlAEzAQzWkuIyt7IVa9R3B/vumJcEvZj3f8b3UbNI3egUKtinbQ+ScBgK3b6pEdwjw/ajhE37bU/wL+Un4pzsv/AOKgqVFAmb9RAAAAAElFTkSuQmCC" width="64" height="64"/></symbol>
  </defs>
  <rect width="1370" height="825" fill="#FFFFFF"/>
  <text x="24" y="40" class="title">AWS IAM for agents: two agents, one role, two identities</text>
  <text x="24" y="66" class="subtitle">Two Amazon Bedrock AgentCore runtimes share one IAM execution role. An S3 bucket policy tells them apart by workload identity (preview).</text>

  <!-- ===== Containers ===== -->
  <rect x="190" y="95" width="1155" height="550" rx="6" fill="none" stroke="#232F3E" stroke-width="2"/>
  <use href="#i-g-cloud" x="190" y="95" width="28" height="28"/>
  <text x="226" y="115" xml:space="preserve"><tspan class="grp" fill="#232F3E">AWS Cloud</tspan></text>
  <rect x="215" y="130" width="1105" height="499" rx="6" fill="none" stroke="#00A4A6" stroke-width="1.5" stroke-dasharray="6 4"/>
  <use href="#i-g-region" x="215" y="130" width="24" height="24"/>
  <text x="247" y="150" xml:space="preserve"><tspan class="grp" fill="#007E80">Region</tspan><tspan class="mono">  us-east-1</tspan></text>
  <rect x="250" y="265" width="550" height="348" rx="6" fill="#FBF8FF" stroke="#8C4FFF" stroke-width="2"/>
  <use href="#i-g-vpc" x="250" y="265" width="24" height="24"/>
  <text x="282" y="285" xml:space="preserve"><tspan class="grp" fill="#6B2FD9">VPC</tspan></text>
  <rect x="270" y="300" width="350" height="297" rx="6" fill="#F1FBFB" stroke="#00A4A6" stroke-width="1.3" stroke-dasharray="5 4"/>
  <use href="#i-g-private" x="270" y="300" width="24" height="24"/>
  <text x="302" y="320" xml:space="preserve"><tspan class="grp" fill="#007E80">Private subnet</tspan></text>
  <rect x="290" y="335" width="310" height="248" rx="6" fill="#FFFFFF" stroke="#687684" stroke-width="1.3" stroke-dasharray="7 4"/>
  <text x="302" y="355" xml:space="preserve"><tspan class="grp" fill="#3B4754">One shared IAM execution role</tspan></text>

  <!-- ===== Connectors ===== -->
  <path class="load" d="M110,450 L150,450 L150,395 L419,395" marker-end="url(#a-load)"/>
  <path class="load" d="M150,450 L150,505 L419,505" marker-end="url(#a-load)"/>
  <circle cx="150" cy="450" r="3.2" fill="#232F3E"/>
  <path class="acc" d="M520,226 L520,335" marker-end="url(#a-acc)"/>
  <path class="load" d="M471,395 L760,395 L760,424" marker-end="url(#a-load)"/>
  <path class="kill" d="M471,505 L760,505 L760,476" marker-end="url(#a-kill)"/>
  <path class="load" d="M786,441 L982,441" marker-end="url(#a-load)"/>
  <path class="kill" d="M786,459 L982,459" marker-end="url(#a-kill)"/>
  <path class="tel" d="M546,200 L1215,200 L1215,422" marker-end="url(#a-tel)"/>
  <path class="tel" d="M1038,450 L1187,450" marker-end="url(#a-tel)"/>

  <!-- ===== Nodes and labels ===== -->
  <use href="#i-laptop" x="52.0" y="422.0" width="56" height="56"/>
  <text x="80" y="497.0" class="name" text-anchor="middle">Operator</text>
  <text x="80" y="515.0" class="sub" text-anchor="middle">make demo</text>
  <use href="#i-role" x="496.0" y="176.0" width="48" height="48"/>
  <text x="487.0" y="188.0" class="name" text-anchor="end">AWS IAM and AWS STS</text>
  <text x="487.0" y="206.0" class="sub" text-anchor="end">AgentCore attests each runtime,</text>
  <text x="487.0" y="222.0" class="sub" text-anchor="end">STS adds its identity to the role session</text>
  <use href="#i-agentcore" x="421.0" y="371.0" width="48" height="48"/>
  <text x="445" y="438.0" class="name" text-anchor="middle">AgentCore runtime agentA</text>
  <text x="445" y="456.0" class="mono" text-anchor="middle">identity .../runtime/agentA/...</text>
  <use href="#i-agentcore" x="421.0" y="481.0" width="48" height="48"/>
  <text x="445" y="548.0" class="name" text-anchor="middle">AgentCore runtime agentB</text>
  <text x="445" y="566.0" class="mono" text-anchor="middle">identity .../runtime/agentB/...</text>
  <use href="#i-vpce" x="736.0" y="426.0" width="48" height="48"/>
  <text x="727.0" y="446.0" class="name" text-anchor="end">VPC endpoint</text>
  <text x="727.0" y="464.0" class="sub" text-anchor="end">for Amazon S3</text>
  <use href="#i-s3-bucket" x="986.0" y="426.0" width="48" height="48"/>
  <text x="1010" y="493.0" class="name" text-anchor="middle">Amazon S3 bucket</text>
  <text x="1010" y="511.0" class="sub" text-anchor="middle">bucket policy conditions on</text>
  <text x="1010" y="527.0" class="mono" text-anchor="middle">aws:OriginIdentity/Subject</text>
  <use href="#i-cloudtrail" x="1191.0" y="426.0" width="48" height="48"/>
  <text x="1215" y="493.0" class="name" text-anchor="middle">AWS CloudTrail</text>
  <text x="1215" y="511.0" class="sub" text-anchor="middle">trail with S3 data events,</text>
  <text x="1215" y="527.0" class="sub" text-anchor="middle">log file validation</text>
  <text x="870" y="432" class="edge" text-anchor="middle">agentA allowed</text>
  <text x="870" y="480" class="edge" text-anchor="middle">agentB AccessDenied</text>

  <!-- ===== Step badges ===== -->
  <g class="badge">
  <circle cx="130" cy="450" r="13"/><text x="130" y="455">1</text>
  <circle cx="520" cy="246" r="13"/><text x="520" y="251">2</text>
  <circle cx="680" cy="395" r="13"/><text x="680" y="400">3</text>
  <circle cx="680" cy="505" r="13"/><text x="680" y="510">4</text>
  <circle cx="880" cy="200" r="13"/><text x="880" y="205">5</text>
  <circle cx="1112" cy="450" r="13"/><text x="1112" y="455">6</text>
  <circle cx="117" cy="725" r="13"/><text x="117" y="730">1</text>
  <circle cx="117" cy="757" r="13"/><text x="117" y="762">2</text>
  <circle cx="117" cy="789" r="13"/><text x="117" y="794">3</text>
  <circle cx="767" cy="725" r="13"/><text x="767" y="730">4</text>
  <circle cx="767" cy="757" r="13"/><text x="767" y="762">5</text>
  <circle cx="767" cy="789" r="13"/><text x="767" y="794">6</text>
  </g>

  <!-- ===== Legend ===== -->
  <text x="24" y="685" class="grp" fill="#232F3E">LINES</text>
  <path class="load" d="M104,680 L154,680" marker-end="url(#a-load)"/>
  <text x="164" y="685" class="leg">Request</text>
  <path class="kill" d="M258,680 L308,680" marker-end="url(#a-kill)"/>
  <text x="318" y="685" class="leg">Denied by the bucket policy</text>
  <path class="acc" d="M537,680 L587,680" marker-end="url(#a-acc)"/>
  <text x="597" y="685" class="leg">Identity issued</text>
  <path class="tel" d="M731,680 L781,680" marker-end="url(#a-tel)"/>
  <text x="791" y="685" class="leg">Audit events</text>
  <text x="24" y="730" class="grp" fill="#232F3E">FLOW</text>
  <text x="141" y="730" class="leg">The operator invokes agentA and agentB with the same request.</text>
  <text x="141" y="762" class="leg">Each runtime gets its own identity on its session of the shared role.</text>
  <text x="141" y="794" class="leg">agentA reads the object: its identity matches the bucket policy condition.</text>
  <text x="791" y="730" class="leg">agentB gets AccessDenied: same role, different identity.</text>
  <text x="791" y="762" class="leg">CloudTrail records which runtime got which role session (GetIAMWorkloadIdentityCredentials).</text>
  <text x="791" y="794" class="leg">The trail also records the S3 data events for both calls.</text>
</svg>
</body>
</html>
docs/demo-script.md

Download

# Demo script (5 minutes)

Claim to prove: two agents share one IAM role, and AWS still tells them apart in policy and in CloudTrail.

## Setup

1. The POC must be deployed beforehand by whoever maintains the kit, at least 30 minutes ahead.
2. Run the [POC script](../poc/quickstart.py) once and confirm it prints both agents and the CloudTrail attribution.
3. Open the [architecture diagram](architecture.png) and the demo bucket's policy in a second tab.

## Script

| Time | Say | Do | Expect |
|---|---|---|---|
| 0:00 | "Agents sharing a role look identical to AWS. This preview fixes that." | Show the diagram | agentA, agentB, one execution role |
| 1:00 | "The bucket owner allows agentA and denies the role otherwise." | Show the bucket policy | One Allow, two Deny on `aws:OriginIdentity` keys |
| 2:30 | "Same request, same code, same role." | Run the POC script | agentA reads the object; agentB gets AccessDenied |
| 3:45 | "The audit trail tells the agents apart, not just the role." | Scroll to the CloudTrail output | One `GetIAMWorkloadIdentityCredentials` event per runtime, joined by session name |
| 4:30 | "It is a preview. Which of your agents share a role?" | Show the Overview gotchas | Discussion |

If asked whether the S3 events name the agent: Docs say `userIdentity.onBehalfOf`. Observed: absent on every event; S3 events show the shared role and session name.

Do not promise GA dates or post-preview pricing; neither is published.

## Reset

- Between customers: nothing to reset; the POC script can be run again as is.
- End of day: ask the kit maintainer to destroy the POC; its VPC endpoints bill hourly.

Source: [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), [Logging guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-logging-monitoring.html), [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html), read 2026-12-01.
docs/diagram.py

Download

"""Architecture diagram for this kit. Run from the kit directory:

    python3 docs/diagram.py                                               # writes docs/architecture.html
    ../../shared/diagrams/render.sh docs/architecture.html docs/architecture.png

Coordinates are pixels. node(cx, cy, ...) is centred on the icon; lines must be orthogonal.
See shared/diagrams/README.md for the API and the icon names.
"""
import os, sys

DOCS = os.path.dirname(os.path.abspath(__file__))
sys.dont_write_bytecode = True
sys.path.insert(0, os.path.join(DOCS, "..", "..", "..", "shared", "diagrams"))
from lib import Diagram

W, H = 1370, 825
TITLE = "AWS IAM for agents: two agents, one role, two identities"
d = Diagram(W, H, TITLE)

IAM_Y, A, MID, B = 200, 395, 450, 505     # IAM row, agentA row, centre row, agentB row
AG, EP, S3, CT = 445, 760, 1010, 1215      # columns: agents, VPC endpoint, bucket, CloudTrail

# ---------------- containers
d.box(190, 95, 1155, 550, "cloud", "AWS Cloud", "g-cloud")
d.box(215, 130, 1105, 499, "region", "Region", "g-region", "us-east-1")
d.box(250, 265, 550, 348, "vpc", "VPC", "g-vpc")
d.box(270, 300, 350, 297, "subnet", "Private subnet", "g-private")
d.box(290, 335, 310, 248, "dgroup", "One shared IAM execution role")

# ---------------- nodes
d.node(80, MID, "laptop", ["Operator"], ["make demo"], size=56)
d.node(520, IAM_Y, "role", ["AWS IAM and AWS STS"], ["AgentCore attests each runtime,", "STS adds its identity to the role session"], pos="left")
d.node(AG, A, "agentcore", ["AgentCore runtime agentA"], [("mono", "identity .../runtime/agentA/...")])
d.node(AG, B, "agentcore", ["AgentCore runtime agentB"], [("mono", "identity .../runtime/agentB/...")])
d.node(EP, MID, "vpce", ["VPC endpoint"], ["for Amazon S3"], pos="left")
d.node(S3, MID, "s3-bucket", ["Amazon S3 bucket"], ["bucket policy conditions on", ("mono", "aws:OriginIdentity/Subject")])
d.node(CT, MID, "cloudtrail", ["AWS CloudTrail"], ["trail with S3 data events,", "log file validation"])

# ---------------- connectors
d.line("load", [(110, MID), (150, MID), (150, A), (AG - 26, A)])
d.line("load", [(150, MID), (150, B), (AG - 26, B)], dot=(150, MID))
d.line("acc", [(520, IAM_Y + 26), (520, 335)])
d.line("load", [(AG + 26, A), (EP, A), (EP, MID - 26)])
d.line("kill", [(AG + 26, B), (EP, B), (EP, MID + 26)])
d.line("load", [(EP + 26, MID - 9), (S3 - 28, MID - 9)])
d.line("kill", [(EP + 26, MID + 9), (S3 - 28, MID + 9)])
d.line("tel", [(546, IAM_Y), (CT, IAM_Y), (CT, MID - 28)])
d.line("tel", [(S3 + 28, MID), (CT - 28, MID)])

d.text(870, MID - 18, "agentA allowed", "edge", "middle")
d.text(870, MID + 30, "agentB AccessDenied", "edge", "middle")

d.badge(1, 130, MID)
d.badge(2, 520, 246)
d.badge(3, 680, A)
d.badge(4, 680, B)
d.badge(5, 880, IAM_Y)
d.badge(6, 1112, MID)

# ---------------- legend
d.lines_key(24, 680, [
    ("load", "Request", 60),
    ("kill", "Denied by the bucket policy", 185),
    ("acc", "Identity issued", 100),
    ("tel", "Audit events", 85),
])
d.flow(24, 725, [[
    (1, "The operator invokes agentA and agentB with the same request."),
    (2, "Each runtime gets its own identity on its session of the shared role."),
    (3, "agentA reads the object: its identity matches the bucket policy condition."),
], [
    (4, "agentB gets AccessDenied: same role, different identity."),
    (5, "CloudTrail records which runtime got which role session (GetIAMWorkloadIdentityCredentials)."),
    (6, "The trail also records the S3 data events for both calls."),
]], 650)

out = os.path.join(DOCS, "architecture.html")
open(out, "w").write(d.render(TITLE, "Two Amazon Bedrock AgentCore runtimes share one IAM execution role. An S3 bucket policy tells them apart by workload identity (preview)."))
print("wrote", os.path.relpath(out), W, H)
docs/pricing.md

Download

# Pricing

## TL;DR

- No additional charge during the preview; post-preview pricing is not stated.
- You pay for the service that hosts the agent and the services it calls.

## Unit prices

| Dimension | Price |
|---|---|
| Agent and workload identity | No additional charge during the preview |
| Amazon EKS integration | No additional charge |
| JWT-SVID for calls outside AWS | No CA needed; no charge stated |
| X.509-SVID for calls outside AWS | AWS Private CA charges apply |
| After the preview | Not stated |

Source: [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), [Create provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-create-provider.html), [EKS What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/eks-supports-iam-for-agents-preview/), read 2026-12-01.

## Worked example

100 agents on one shared role, identities used only in IAM policies and CloudTrail.

| Item | Cost in preview |
|---|---|
| 1 provider, 1 template, 100 agent identities | $0 |
| JWT-SVIDs, if the agents call external APIs | No charge stated |
| X.509-SVIDs | $0 unless you attach AWS Private CA |
| AgentCore Runtime, S3, CloudTrail, VPC | Billed as usual by those services |
| Added by the feature | $0 |

## Cost levers

- Stay on JWT-SVIDs unless the customer needs mTLS; that avoids AWS Private CA.
- Scope CloudTrail data events to the bucket that matters, not all buckets.
- Remove idle interface VPC endpoints; they bill hourly whether or not an agent runs.

Source: [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), read 2026-12-01.
docs/scaling.md

Download

# Scaling

## Limits

| Limit | Value | Adjustable |
|---|---|---|
| Providers per account | 50 | Not published |
| Organization-level providers | 5 per organization | Not published |
| Identifier length | 256 characters; "This limit might change." | No |
| JWT-SVID lifetime | 60 to 3,600 s, default 300 | Per request |
| X.509-SVID lifetime | 3,600 to 43,200 s, default 43,200; not revocable | Per request |

Templates per account and API rate limits are not published.

Source: [Manage providers](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-manage-providers.html), [Getting started](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-getting-started.html), [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html), read 2026-12-01.

## How it scales

- AWS claim: "Set up once per account or organization and scale to millions of agents and workloads."
- Nothing is created in IAM per agent; roles follow permission sets, not agent count.
- One organization-level provider gives one trust domain across accounts.

## Where it does not fit

- Existing AgentCore runtimes or gateways: identity cannot be added or removed after creation.
- Hard isolation by identity alone: in preview the agent also holds plain role credentials.
- Compute other than Amazon EKS, AgentCore Runtime and AgentCore Gateway: not published.

Source: [What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/), [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html), read 2026-12-01.
docs/talking-points.md

Download

# Talking points

## Three points that matter

1. Tell agents apart in policy: allow or deny one agent with `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer`.
2. Know which agent did it: many agents can share one role and CloudTrail still separates them.
3. No new credential system: the identity is added to the existing role session.

## Quotes

> "Those rules need to apply to the right agent. New AWS IAM for agents gives each agent an identity of its own, building on existing IAM roles and policies, so customers can define agent access and see which actions it has taken."

Dr. Matt Wood, AWS News Blog, "AWS builds for more ambitious agents", 2026-12-01. Bylined blog prose, not a pull quote; his title is unverified.

No customer quotes were found. Do not attribute customer adoption.

## Likely objections

| Objection | Answer |
|---|---|
| Why not one IAM role per agent? | Still works. This avoids roles created only to tell agents apart. |
| Is this AgentCore Identity? | No. That reaches services outside AWS; this identifies agents to AWS. |
| Is it production ready? | Preview. No SLA, GA date or post-preview price is published. |
| Can I enable it on existing agents? | Not on AgentCore in preview; set at creation, cannot be removed. |
| Can a compromised agent drop its identity? | It also holds plain role credentials; resources must deny mismatches. |

## Ask the customer

- How many agents run today, and do any share an IAM role?
- When an agent touches data, can your audit team name the agent, or only the role?
- Do your agents run on AgentCore Runtime, Amazon EKS, or somewhere else?

Source: [AWS News Blog](https://aws.amazon.com/blogs/aws/aws-builds-for-more-ambitious-agents/), [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html), [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html), read 2026-12-01.
kit.json

Download

{
  "slug": "aws-iam-for-agents",
  "title": "AWS IAM for agents",
  "summary": "Each agent gets its own verifiable identity on top of its IAM role, so policies and CloudTrail can tell agents apart (preview).",
  "status": "ready",
  "announcement_urls": [
    "https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/"
  ],
  "demo_url": "",
  "verified_on": "2026-12-01",
  "scripts": [
    "poc/quickstart.py",
    "poc/agent/main.py",
    "poc/agentctl.py"
  ],
  "requires": [
    {
      "tool": "boto3",
      "version": "1.44.17 or later",
      "note": "Tested with 1.44.17. Older releases do not have the workload identity operations.",
      "links": {
        "boto3 1.44.17 on PyPI": "https://pypi.org/project/boto3/1.44.17/"
      }
    },
    {
      "tool": "AWS CLI",
      "version": "2.43.1 or later",
      "note": "Not used by the scripts. Needed only to call the new IAM operations from the CLI; 2.43.1 is the first release whose changelog lists them, and 2.37.0 was checked and does not have them.",
      "links": {
        "macOS": "https://awscli.amazonaws.com/AWSCLIV2-2.43.1.pkg",
        "Linux": "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.43.1.zip",
        "Windows": "https://awscli.amazonaws.com/AWSCLIV2-2.43.1.msi"
      }
    }
  ]
}
poc/README.md

Download

# Maintainer notes

For whoever maintains this kit. The published pages are short reference cards; the detail lives here. Shown on the Files page only.

## Run the POC

Two AgentCore runtimes, `agentA` and `agentB`, run the same code with one shared execution role. The bucket policy allows the object read only for agentA's identity. First deployed in us-east-1 on 2026-12-01; what that run confirmed is under "Addendum: observed on first deploy" below, and open items are in [UNVERIFIED.md](UNVERIFIED.md).

```
make preflight deploy   # Terraform, then poc/agentctl.py for the provider, template and runtimes (about 15 minutes)
make demo               # the policy, agentA allowed, agentB AccessDenied, CloudTrail evidence
make verify             # the demo plus assertions; non-zero exit on failure
make screenshots        # renders build/demo/*.txt to docs/screenshots/*.png
make destroy            # runtimes, template, provider, then Terraform; lists leftovers
```

- Needs `terraform`, `aws`, `jq`, `python3` and `uv`. `make venv` installs the boto3 release that has the preview APIs into `.venv`.
- Terraform (`poc/terraform`) owns the buckets, bucket policy, execution role, VPC with endpoints, KMS key and the trail. `poc/agentctl.py` owns what Terraform has no resources for, tagged with the same six keys and `ManagedBy=script`.
- CloudTrail delivery lags. `make demo` waits up to 15 minutes for the evidence (`EVIDENCE_WAIT=0` skips the wait).
- Tags: `Project`, `Environment`, `Owner`, `CostCenter`, `ManagedBy`, `Repository` from provider `default_tags`. Activate them for cost allocation with `make cost-tags` at the repo root.
- Idle cost is the two interface VPC endpoints (billed hourly) and the KMS key. Destroy after the demo.
- AgentCore can hold its network interfaces in the VPC for up to 8 hours after the runtimes are deleted. If `make destroy` fails on the subnets or security group, run it again later.
- `quickstart.py` is the published POC script. It runs against the deployed POC, invokes both agents and prints the CloudTrail attribution. It needs boto3 1.44.17 or later (tested with 1.44.17) and does not use the AWS CLI.
- AWS CLI 2.43.1 is the first release with the new IAM operations (for example `aws iam create-workload-identity-provider`). AWS CLI 2.37.0 was checked and does not have them.

## Security Hub

Built to FSBP, CIS v3.0 and AI Security Best Practices. Not yet checked against live findings.

| Area | How it is met |
|---|---|
| AgentCore Runtime | VPC network mode in private subnets with no internet or NAT gateway; S3 gateway endpoint (policy scoped to the demo bucket and the AgentCore code buckets) plus `logs` and `bedrock-agentcore` interface endpoints. Inbound auth is IAM (SigV4) |
| S3 (S3.1, S3.5, S3.8, S3.13) | Block Public Access, TLS-only deny on every bucket, default encryption, versioning, lifecycle rules |
| CloudTrail (CloudTrail.2, .4, .5) | Kit trail encrypted with a customer managed key, log file validation on, delivered to an encrypted log group; trail bucket accepts writes only from this trail |
| KMS (KMS.4) | Rotation on. The key policy keeps the default account statement (`kms:*` for the account root) so IAM governs the key |
| IAM (IAM.1, IAM.21) | No wildcard actions in role policies. Execution role trust is scoped with `aws:SourceAccount` and `aws:SourceArn`; the CloudTrail and flow log roles likewise |
| VPC (EC2.2, EC2.6) | Default security group has no rules; flow logs on; runtime security group allows HTTPS egress to the endpoints only |

Intentionally not met:

| Control | Reason |
|---|---|
| S3.9, CloudTrail.7 (server access logging) | The kit trail already records object-level events for the demo bucket; a log bucket adds nothing to a demo that is destroyed the same day |
| S3.20 (MFA delete) | Needs the root user and blocks `make destroy` |
| CloudTrail.1 (multi-Region trail with management events) | An account-level control. The kit trail is single-Region and data-events-only so management events are not recorded twice |
| Customer managed key on S3 and runtime log groups | Buckets use SSE-S3 so an AccessDenied in the demo can only come from the bucket policy. AgentCore creates the runtime log groups itself, without a key or retention; `make destroy` deletes them |
| Preview limitation | The agent also holds execution role credentials without its identity. The bucket policy's two Deny statements cover this, as the docs require |

## Unverified

See [UNVERIFIED.md](UNVERIFIED.md) for the numbered list. Items marked "unverified" in the reference material below are also still open.

## Detail cut from the published pages

The text below is what the published pages said before they were cut to reference cards. Facts are unchanged. Where it says nothing was deployed or executed, the first deploy on 2026-12-01 has since happened; the observations in the addendum win.

### Overview

**Naming.** Sometimes called "Bedrock IAM for agents". The official umbrella name is **AWS IAM for agents**; the capability in this kit is **agent and workload identity (preview)** ([WN-IAM], [PAGE]). It is an IAM and AWS STS feature that integrates with Amazon Bedrock AgentCore Runtime, AgentCore Gateway and Amazon EKS. It is **not AgentCore Identity**, which is a separate existing feature for reaching services outside AWS with OAuth2 tokens and API keys ([AC-RT]).

| | |
|---|---|
| Status | Preview, "subject to change" ([IAM-AWI]). Announced 2026-12-01 ([WN-IAM]) |
| Regions | All commercial AWS Regions for the IAM feature; usable with AgentCore and EKS where those run ([IAM-AWI]). EKS integration excludes me-south-1 and me-central-1 ([WN-EKS]). AgentCore Runtime needs platform version V2 or the Instances compute type; Region list unverified ([AC-RT]). GovCloud, China: unverified. POC runs in us-east-1 |
| Live demo | CLI demo, see [docs/demo-script.md](../docs/demo-script.md) |

All facts in this kit were read from the linked sources on 2026-12-01. Details and URLs: [sources.md](../sources.md).

#### Why it matters

- **Tell agents apart in policy.** A bucket, key or API owner can allow or deny one named agent with `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer`, in resource policies, identity policies, SCPs and RCPs ([IAM-CK]).
- **Attribute actions in CloudTrail.** The docs say the agent identity is recorded in `userIdentity.onBehalfOf` when its role session is created ([IAM-LOG]). Observed in this POC on 2026-12-01 (AgentCore Runtime, us-east-1): no event carried `userIdentity.onBehalfOf`. CloudTrail recorded a `GetIAMWorkloadIdentityCredentials` event from `bedrock-agentcore.amazonaws.com` for each runtime, naming the runtime, the workload identity provider and the role session it issued. The S3 data events show the shared role and that role session name, so the two join on the session name.
- **No new credential system.** The identity is added to the existing IAM role session and does not replace the role. The role says what the agent can do; the identity says which agent is using it ([IAM-AWI]).

#### Who it is for, and who it is not for

| For | Not for |
|---|---|
| Teams running many agents on AgentCore Runtime or Amazon EKS that share roles, or that create a role per agent only to tell them apart | Production workloads that need GA terms: this is a preview |
| Data owners and security teams who want resource policies, SCPs or RCPs that name an agent | Existing AgentCore runtimes or gateways: it cannot be added after creation ([IAM-AC]) |
| Audit teams who must answer "which agent did this" | Agents on Lambda, ECS or EC2: no integration published |
| Platform teams wanting SPIFFE identities (JWT-SVID, X.509-SVID) for calls outside AWS without long-lived secrets ([IAM-AWI]) | Getting credentials for external SaaS: that is IAM Credential Broker or AgentCore Identity |

Sibling announcements under the same umbrella, not covered by this kit:

- **AWS IAM Credential Broker** (preview): gets agents credentials for external services ([WN-CB]).
- **Enterprise-Managed Authorization for AWS Sign-In**: simplifies agent access to the AWS MCP Server ([WN-IAM]).

#### Gotchas

Preview caveats. Read these before any customer conversation.

| # | Caveat | What to tell the customer |
|---|---|---|
| 1 | **Must be turned on at creation.** An AgentCore runtime or gateway created without a workload identity template cannot get one later, and one cannot be removed ([IAM-AC], [AC-RT]) | Plan to re-create runtimes. Existing agents are not upgraded in place |
| 2 | **The agent also holds plain execution role credentials** without the identity during the preview. A Deny that names the agent identity does not stop those calls ([AC-RT]) | Every protected resource needs Deny statements on the role when the identity does not match. An Allow alone is not a control. The POC bucket policy shows the pattern |
| 3 | **X.509-SVIDs cannot be revoked.** Lifetime 1 to 12 hours, default 12 ([IAM-GS]) | Prefer JWT-SVIDs (default 5 minutes) or request short certificate lifetimes |
| 4 | **The guides disagree in two places.** (a) Trust policy on EKS: the IAM guide says no change is needed, the EKS guide says to add `sts:SetContext` ([IAM-CA], [EKS-UG]). (b) CloudTrail for the agent's later calls: the IAM guide says they carry `onBehalfOf`, the AgentCore guide says they show only the role session ([IAM-LOG], [AC-RT]) | (a) is unverified and does not affect AgentCore. For (b) the POC matched the AgentCore guide: later calls show only the role session, so join them to the `GetIAMWorkloadIdentityCredentials` event by role session name |
| 5 | **Post-preview pricing is not stated.** No additional charge during preview; AWS Private CA charges apply if you issue X.509 ([IAM-AWI]) | Do not say it will stay free |

Also: import `bedrock_agentcore` before creating any boto3 client, or that client uses the role without the identity. Deleting a template makes every invocation of its runtimes fail. `CreateAgentRuntime` does not check that the template exists. After creating a template, invocations can fail with AccessDeniedException for a few minutes ([AC-RT]). Nothing in this kit's research confirms Terraform or CloudFormation support for the IAM provider and template: unverified.

### Pricing

All sources read 2026-12-01. Preview: prices and terms can change.

#### TL;DR

- The feature adds **$0 during the preview** ([IAM-AWI]).
- **Post-preview pricing is not stated.** No pricing page exists for IAM for agents. Do not tell a customer it will stay free.
- The only stated cost is optional: AWS Private CA, if you issue X.509 certificates ([IAM-AWI]).
- What you pay for is the service that hosts the agent (AgentCore Runtime or Amazon EKS) and the services it calls.

#### Unit prices

Source: [IAM-AWI], [IAM-CP], [WN-EKS], read 2026-12-01.

| Dimension | Price |
|---|---|
| Agent and workload identity (providers, templates, identities on role sessions) | "offered at no additional charge during the preview" ([IAM-AWI]) |
| Amazon EKS integration | "available at no additional charge" ([WN-EKS]) |
| JWT-SVID for calls outside AWS | No CA needed, IAM-managed signing keys ([IAM-CP]). No charge stated. |
| X.509-SVID for calls outside AWS | AWS Private CA charges apply for the certificate authority and each certificate issued ([IAM-AWI]). Rates: see AWS Private CA pricing, not restated here. |
| After the preview | Not stated |

#### Worked example

100 agents on one shared role, identities used only in IAM policies and CloudTrail (no X.509):

| Item | Cost in preview |
|---|---|
| 1 provider, 1 template, 100 agent identities | $0 |
| JWT-SVIDs, if the agents call external APIs | No charge stated |
| X.509-SVIDs | $0 unless you attach AWS Private CA |
| AgentCore Runtime, S3, CloudTrail, VPC | Billed as usual by those services |

Honest framing: the feature itself adds $0 in preview. The customer's cost is the hosting service.

#### What the POC costs to run

No prices are quoted here because the sources for this kit do not restate them. Cost drivers, largest standing cost first:

| Driver | Billed | Stops when |
|---|---|---|
| Interface VPC endpoints | Hourly, per endpoint | `make destroy` |
| KMS customer managed key | Per key | Key deletion (scheduled by `make destroy`) |
| CloudTrail trail with S3 data events | Per data event | `make destroy` |
| AgentCore Runtime (agentA, agentB) | On invocation | No invocations |

Run `make cost` for the actual figure by service (Cost Explorer lags up to 24 hours).

#### Cost levers

- Run `make destroy` after the demo. The VPC endpoints bill every hour whether or not anyone invokes an agent.
- Stay on JWT-SVIDs unless the customer needs mTLS. That avoids AWS Private CA entirely.
- Scope CloudTrail data events to the demo bucket, not all buckets.

### Scaling

All sources read 2026-12-01. Preview: limits can change.

#### Limits and quotas

Source: [IAM-MP], [IAM-CP], [IAM-TPL], [IAM-GS], [IAM-AC], [IAM-SIG], [IAM-LOG], [AC-RT], read 2026-12-01.

| Limit | Value | Adjustable |
|---|---|---|
| Providers per account | 50 ([IAM-MP]) | Not published |
| Organization-level providers per organization | 5 ([IAM-MP]) | Not published |
| Identifier length, including trust domain | 256 characters, "This limit might change." Over it, the AgentCore invocation fails with ValidationException ([AC-RT]) | No |
| Path prefix | 64 characters ([IAM-TPL]) | Not published |
| Provider name / trust domain | 1 to 128 / up to 64 characters ([IAM-CP], [IAM-MP]) | Not published |
| JWT-SVID lifetime | 60 to 3,600 s, default 300, never longer than the remaining role session ([IAM-GS]). Gateway-issued: 5 minutes ([IAM-AC]) | Set per request, within the range |
| X.509-SVID lifetime | 3,600 to 43,200 s, default 43,200 (12 h). **Cannot be revoked** ([IAM-GS]) | Set per request, within the range |
| X.509 signers | One per key algorithm per provider, up to 5 entries each through rotations ([IAM-SIG]) | Not published |
| New CA starts signing | About 1 hour after you attach it ([IAM-GS]) | No |
| Attestation context validity | 60 to 300 s ([IAM-LOG]) | No |
| Template or attestation policy change | Invocations can fail with AccessDeniedException for a few minutes ([AC-RT]) | No |
| Templates per account, API rate limits, Service Quotas entries | **Not published** (the IAM quotas page had no entries) | Unverified |

#### How it scales

AWS claim: "Set up once per account or organization and scale to millions of agents and workloads." ([WN-IAM]). No benchmark is published.

| | One role per agent | One shared role, identity per agent (this kit) |
|---|---|---|
| What you create per agent | A role, its policies, its trust policy | Nothing in IAM. The template names each runtime from attested facts ([IAM-AWI]) |
| Who can tell agents apart | Anyone, by role ARN | Resource owners, by `aws:OriginIdentity/Subject` and `/Issuer` in resource policies, identity policies, SCPs and RCPs ([IAM-CK]) |
| Audit | Role ARN on every event | Docs: `userIdentity.onBehalfOf` ([IAM-LOG]). Observed in the POC: a `GetIAMWorkloadIdentityCredentials` event per runtime, joined to later calls by role session name |
| Grant access before the agent exists | Needs the role first | Yes, the template fixes the identifier format ([IAM-AWI]) |
| Many accounts | A role per account per agent | One organization-level provider gives one trust domain; one policy can cover an agent in every account ([AC-RT]) |
| Role sprawl | Grows with agent count | Flat: roles follow permission sets, not agent count |

The role still defines what the agent can do. The identity only says which agent is using it ([IAM-AWI]). Agents that need different permissions still need different roles, or resource policies that name them.

#### Where it does not fit

- **Existing AgentCore runtimes or gateways.** You cannot add an identity to one that was created without it, or remove it. Create a new one ([IAM-AC], [AC-RT]).
- **Hard isolation with Deny-by-identity alone.** In preview the agent also holds role credentials without the identity ([AC-RT]). Use separate roles if you cannot write the Deny statements on every resource.
- **Compute other than Amazon EKS, AgentCore Runtime and AgentCore Gateway.** No other service is listed at preview ([IAM-AWI]). Lambda, ECS, EC2: not published.
- **Certificates you must be able to revoke.** X.509-SVIDs cannot be revoked ([IAM-GS]). Gateways issue JWT-SVIDs only ([IAM-AC]).
- **Cross-organization role chaining.** The identity is dropped when assuming a role in a different organization ([IAM-CA]).
- **A session that must carry both a user and an agent.** A role session carries a workload identity or a trusted identity propagation user, not both ([IAM-AWI]).
- **Metric-based monitoring.** IAM publishes no CloudWatch metrics for this feature ([IAM-LOG]).
- **Infrastructure as code for the IAM side.** CloudFormation resource types for providers and templates, and Terraform support: unverified.
- **GovCloud, China, European Sovereign Cloud.** Not mentioned: unverified.

### Talk track

CLI demo, no web UI. Claim to prove: two agents share one IAM role, and AWS can still tell them apart in policy and in CloudTrail.

Presenter note: this is a **preview** released 2026-12-01, "subject to change" ([IAM-AWI], read 2026-12-01). Say so in the first minute. Do not promise GA dates or post-preview pricing; neither is published.

#### Setup

Do this at least 30 minutes before the meeting, not in front of the customer.

1. `make preflight deploy verify` in us-east-1. Runtimes must be created new with their template, and a new template can return AccessDeniedException for a few minutes while it propagates ([AC-RT], read 2026-12-01).
2. Run `make demo` once and confirm the CloudTrail section prints two identities. Trail delivery lags, so the live run shows events from this earlier run.
3. Open two terminal tabs in the kit directory, font size 18 or larger. Tab 1 for commands, tab 2 with the bucket policy already printed.
4. Keep [architecture.png](../docs/architecture.png) open as the backdrop.

#### Script

| Time | Say | Do | Expect |
|---|---|---|---|
| 0:00 | "Today every agent on the same role looks identical to AWS. This preview gives each agent its own identity on top of the role." | Show architecture.png | Diagram with agentA, agentB, one role |
| 0:45 | "Two AgentCore runtimes, one execution role. The role allows s3:GetObject for both. Nothing in the role mentions either agent." | Show both runtimes and their execution role in the deploy outputs (`build/config.json`) | Same role ARN on agentA and agentB |
| 1:30 | "The bucket owner decides. Allow when the identity is agentA from our provider. Deny the role for anything else. The Deny statements are required in preview." | Tab 2: bucket policy. Point at `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer` | Allow for `.../runtime/agentA/agentA-*`, two Deny statements |
| 2:30 | "Same request to both agents." | `make demo` | agentA returns the object |
| 3:15 | "Same code, same role, different identity." | Scroll to agentB output | agentB: AccessDenied from S3 |
| 3:45 | "And the audit trail tells the agents apart, not just the role." | Scroll to the CloudTrail section | Two `GetIAMWorkloadIdentityCredentials` events, one per runtime, each with its role session name. Below them the two S3 GetObject events: `allowed` attributed to agentA, `AccessDenied` attributed to agentB, joined by that session name |
| 4:30 | "No new credential system: it is your existing role plus a name. It is preview, so here is what to watch." | Show README Gotchas | Five caveats |
| 5:00 | "Which of your agents share a role today?" | Stop | Discussion |

If asked "do the S3 events show the agent too?": not directly in this preview. Observed in this POC on 2026-12-01 (AgentCore Runtime, us-east-1): no event carried `userIdentity.onBehalfOf`. CloudTrail recorded a `GetIAMWorkloadIdentityCredentials` event from `bedrock-agentcore.amazonaws.com` for each runtime, naming the runtime, the workload identity provider and the role session it issued. The S3 data events show the shared role and that role session name, so the two join on the session name. The IAM guide describes `onBehalfOf` on these events ([IAM-LOG]); say plainly that the POC did not see it.

#### Reset

- Between customers: nothing to reset. `make demo` can be run again as is.
- End of day: `make destroy`, then check that the leftover lists it prints are empty. The VPC endpoints bill hourly.

### Talking points

All sources read 2026-12-01. Status: preview, subject to change ([IAM-AWI]).

#### Three points that matter

1. **Tell agents apart in policy.** Each agent gets a name on top of its IAM role. Resource policies, identity policies, SCPs and RCPs can allow or deny one agent with `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer` ([IAM-CK]).
2. **Know which agent did it.** Many agents can share one role and CloudTrail still tells them apart. The docs describe `userIdentity.onBehalfOf` ([IAM-LOG]); in this POC the link was the `GetIAMWorkloadIdentityCredentials` event per runtime, joined to the S3 events by role session name (observed 2026-12-01).
3. **No new credential system.** The identity is added to the existing role session and does not replace the role. No password or API key backs it; AWS issues it after the hosting service attests the workload ([IAM-AWI]).

#### Quotes

Executive statement (bylined blog prose, not a pull quote):

> "Those rules need to apply to the right agent. New AWS IAM for agents gives each agent an identity of its own, building on existing IAM roles and policies, so customers can define agent access and see which actions it has taken."

Dr. Matt Wood, AWS News Blog, "AWS builds for more ambitious agents", 2026-12-01, [BLOG]. His title is not stated in the source: unverified.

Customer quotes: none found. The product page, What's New posts and docs carry none. Do not attribute customer adoption.

#### Likely objections

| Objection | Answer |
|---|---|
| Why not one IAM role per agent? | That still works. This removes the need to create a role per agent just to tell them apart: the role defines what, the identity says which ([IAM-AWI]). Roles then follow permission sets, not agent count. If agents need different permissions, or you cannot add Deny statements to every resource during preview, keep separate roles. |
| Is this the same as AgentCore Identity? | No. AgentCore Identity gets the agent into services outside AWS (OAuth2 tokens, API keys). IAM for agents identifies the agent on its calls to AWS services, in IAM policies and CloudTrail. A runtime with a template does not get an AgentCore Identity workload identity, and can still use AgentCore Identity for tokens and API keys with the latest AgentCore SDK ([AC-RT]). |
| What about agents calling external SaaS? | Two answers. This capability can present the same identity outside AWS as a short-lived JWT-SVID or X.509-SVID ([IAM-AWI]). Obtaining credentials for external services is AWS IAM Credential Broker, a sibling preview ([WN-CB]), not covered by this kit. |
| Is it production ready? | It is a preview, "subject to change" ([IAM-AWI]). No SLA, GA date or post-preview price is published. Position it for evaluation and design work now. |
| Does it work outside AgentCore? | Yes on Amazon EKS through EKS Pod Identity (all commercial Regions except me-south-1 and me-central-1; AL2 AMIs not supported) ([WN-EKS], [EKS-UG]). Lambda, ECS, EC2 and other compute: not published. |
| Can I turn it on for my existing agents? | Not on AgentCore in preview. It must be set when the runtime or gateway is created, and cannot be removed ([IAM-AC]). |
| Can a compromised agent drop its identity? | In preview the agent also holds role credentials without the identity. Resources must deny the role when the identity does not match ([AC-RT]). The POC bucket policy shows the pattern. |
| What does it cost? | No additional charge during preview; AWS Private CA charges if you issue X.509 ([IAM-AWI]). Post-preview: not stated. |
| Is it an open standard? | Identifiers are SPIFFE compliant; outside AWS the credentials are JWT-SVID and X.509-SVID ([IAM-AWI]). |

#### Ask the customer

- How many agents run today, and how many IAM roles do they use? Do any share a role?
- When an agent touches data, can your audit team name the agent, or only the role?
- Who owns the data: can those teams write resource policies, SCPs or RCPs that name an agent?
- Do your agents run on AgentCore Runtime, Amazon EKS, or somewhere else?
- Do agents call systems outside AWS, and do those systems accept JWT or mTLS (SPIFFE or OIDC)?
- One account or an organization? Would one trust domain across accounts help?
- Is a preview acceptable for a pilot, and what would you need to see before production?

## Reference material from the documentation

Moved verbatim from the Sources page: the research notes, policy JSON and CLI examples copied from the documentation, read on 2026-12-01. Account IDs 111122223333 and 444455556666 are the documentation's placeholders.

Short URL keys used below:

- [WN-IAM] https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/
- [WN-EKS] https://aws.amazon.com/about-aws/whats-new/2026/12/eks-supports-iam-for-agents-preview/
- [WN-CB] https://aws.amazon.com/about-aws/whats-new/2026/11/aws-iam-credential-broker-preview/
- [WN-REG] https://aws.amazon.com/about-aws/whats-new/2026/12/aws-agent-registry-fleet-view-governance/
- [BLOG] https://aws.amazon.com/blogs/aws/aws-builds-for-more-ambitious-agents/
- [PAGE] https://aws.amazon.com/iam/agents/
- [IAM-HUB] https://docs.aws.amazon.com/IAM/latest/UserGuide/iam-for-agents.html
- [IAM-AWI] https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html
- [IAM-GS] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-getting-started.html
- [IAM-AC] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-agentcore.html
- [IAM-CA] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-control-access.html
- [IAM-CK] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-condition-keys.html
- [IAM-AP] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-attestation-policies.html
- [IAM-LOG] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-logging-monitoring.html
- [IAM-MP] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-manage-providers.html
- [IAM-CP] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-create-provider.html
- [IAM-TPL] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-templates.html
- [IAM-SIG] https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-signing-trust-bundle.html
- [AC-RT] https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html
- [AC-GW] https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-setup-workload-identity.html
- [EKS-UG] https://docs.aws.amazon.com/eks/latest/userguide/pod-identity-workload-identity.html
- [CFN-EKS] https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-eks-podidentityassociation.html

### Which announcement this is (candidates)

| Candidate | Date (UTC) | URL |
|---|---|---|
| AWS Identity and Access Management (IAM) announces support for agent and workload identity (preview) | 2026-12-01 08:00 | [WN-IAM] |
| Amazon EKS announces support for agent and workload identity (Preview) | 2026-12-01 08:00 | [WN-EKS] |
| AWS announces the public preview of AWS IAM Credential Broker | 2026-11-29 08:00 | [WN-CB] |
| AWS IAM extends trusted identity propagation to IAM federation and IAM Roles Anywhere | 2026-11-25 06:00 | https://aws.amazon.com/about-aws/whats-new/2026/11/aws-iam/ |
| Enterprise-Managed Authorization for AWS Sign-In (linked from [WN-IAM]; post body not read) | unverified | https://aws.amazon.com/about-aws/whats-new/2026/11/aws-sign-in-ema-idjag/ |

Best match: [WN-IAM]. Reasons: AWS itself uses the phrase "IAM for agents" as an umbrella name ("IAM for agents is a set of capabilities that help you identify, authenticate, and authorize AI agents") [WN-IAM]; the re:Invent News Blog post says "New AWS IAM for agents gives each agent an identity of its own, building on existing IAM roles and policies" [BLOG]; and it is the one that plugs into Amazon Bedrock AgentCore Runtime and Gateway [WN-IAM], which explains the "Bedrock" in the shorthand. It is an IAM feature, not a Bedrock feature. The rest of this file covers the agent and workload identity capability in depth; Credential Broker and Enterprise-Managed Authorization are sibling capabilities under the same umbrella and are only summarised.

### 1. Official name, description, date, status, owning service

- Umbrella name: "AWS IAM for agents" (page title "AWS IAM for agents (Preview)") [PAGE]. Docs section title: "IAM for agents" [IAM-HUB].
- Headline capability: "Agent and workload identity (Preview)" [IAM-AWI]. What's New headline: "AWS Identity and Access Management (IAM) announces support for agent and workload identity (preview)" [WN-IAM].
- Announcement date: 2026-12-01 (postDateTime 2026-12-01T08:00:00Z) [WN-IAM].
- Status: preview. "Agent and workload identity is in preview release for AWS Identity and Access Management (IAM) and is subject to change." [IAM-AWI]
- Owning service: AWS IAM (with AWS STS issuing the identity). Integrations at preview: Amazon EKS, Amazon Bedrock AgentCore Runtime, Amazon Bedrock AgentCore Gateway [WN-IAM] [IAM-AWI].
- Description: IAM acts as an identity provider for AI agents and workloads. Each one gets a verifiable identity (a name you choose, in a namespace you own, SPIFFE compliant) that is added to its existing IAM role session and does not replace the role. The role defines what the workload can do; the identity says which workload is using the role. AWS issues the identity only after the service running the workload attests where it runs, which version runs, and which instance or session it is. You can reference the identity in IAM policies (condition keys `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer`) and audit it in CloudTrail. Outside AWS the workload presents the same identity as a short-lived JWT-SVID or X.509-SVID [IAM-AWI] [WN-IAM].
- Umbrella contents per AWS: agent and workload identity (preview), AWS IAM Credential Broker (preview, gets agents credentials for external services), and Enterprise-Managed Authorization for AWS Sign-In (simplifies agent access to the AWS MCP Server) [WN-IAM] [IAM-HUB].
- Not the same thing as AgentCore Identity. AgentCore Identity is for accessing services outside AWS (OAuth2 tokens, API keys); IAM for agents identifies the agent on its calls to AWS services. A runtime with a template does not get an AgentCore Identity workload identity [AC-RT].
- Relationship to trusted identity propagation: separate feature, same `aws:OriginIdentity` condition keys; a role session carries one or the other, not both [IAM-AWI].

### 2. Availability

- Regions (IAM): "During the preview, IAM agent and workload identity is available in all commercial AWS Regions. You can use it with Amazon EKS and AgentCore in the Regions where those services are available." [IAM-AWI]
- Regions (EKS integration): all commercial AWS Regions except Middle East (Bahrain) me-south-1 and Middle East (UAE) me-central-1 [WN-EKS] [EKS-UG].
- Regions (AgentCore Runtime): the runtime must use platform version V2 or the Instances compute type, "in an AWS Region where either is available" [AC-RT]. The specific Region list was not read: unverified.
- GovCloud, China, European Sovereign Cloud: not mentioned for agent and workload identity. Unverified.
- Allowlist or sign-up: none stated. The docs describe turning it on directly in the IAM, EKS and AgentCore consoles, and none of the sources call it a gated preview [IAM-GS] [AC-RT]. Absence of a gate is inferred from the docs, not explicitly stated: unverified.
- Tooling prerequisite: AWS CLI or SDK released on or after December 1, 2026, and the latest AgentCore SDK in agent code [AC-RT]. EKS needs the EKS Pod Identity Agent add-on v1.5.0-eksbuild.3 or later, or an Auto Mode AMI released on or after November 18, 2026 [IAM-GS]. AL2 AMIs are not supported [EKS-UG].
- Existing resources: during the preview you cannot turn it on for an AgentCore runtime or gateway that already exists; it must be set at creation [IAM-AC].
- Credential Broker (sibling): public preview in all commercial AWS Regions [WN-CB].

### 3. How you build with it

#### Resources and ARNs

- Workload identity provider: `arn:aws:iam::111122223333:workload-identity-provider/name` (account scope) or `arn:aws:iam::o-a1b2c3d4e5:workload-identity-provider/name` (organization scope). Scheme is SPIFFE or NONE, fixed at creation [IAM-AWI].
- Workload identity template: `arn:aws:iam::111122223333:workload-identity-template/eks-prod-1` [IAM-GS]. Templates are the only way to name agents and workloads [IAM-AWI].
- Template definitions (AWS-owned, read-only): ARNs start with `arn:aws:iam::aws:workload-identity-template-definition/bedrock-agentcore.amazonaws.com/` for AgentCore. Runtime definitions: `runtime/account-provider-default:1`, `runtime/account-provider-session:1`, `runtime/org-provider-account-template-default:1`, `runtime/org-provider-account-template-session:1` [AC-RT]. Gateway definitions: `gateway/account-provider-default:1`, `gateway/org-provider-account-template-default:1` [IAM-AC].
- Identifier format, AgentCore runtime, account-level provider: `spiffe://<account>.aws.internal/<region>/bedrock-agentcore/runtime/<runtime-name>/<runtime-id>` (session variant appends `/<session-id>`) [IAM-AC].
- Identity is not an IAM principal: "Name it in the Condition element, not the Principal element." [IAM-CA]

#### CLI and API surface

- IAM namespace (`aws iam ...`) commands shown in docs: `create-workload-identity-provider`, `get-workload-identity-provider`, `list-workload-identity-providers`, `delete-workload-identity-provider`, `get-workload-identity-provider-deletion-status`, `put-workload-identity-provider-resource-policy`, `create-workload-identity-provider-outbound-signer`, `list-workload-identity-provider-outbound-signers`, `enable-/disable-/update-/delete-workload-identity-provider-outbound-signer`, `create-workload-identity-template`, `get-workload-identity-template`, `list-workload-identity-templates`, `delete-workload-identity-template`, `put-/get-/delete-workload-identity-template-attestation-policy`, `enable-organization-level-resources` [IAM-CP] [IAM-TPL] [IAM-SIG] [IAM-MP] [IAM-AP].
- STS namespace: `aws sts get-web-identity-token --token-type JWT_SVID` (JWT-SVID), `aws sts get-certificate` (X.509-SVID), `aws sts get-trust-bundles` [IAM-GS] [IAM-SIG]. Service-side action: `sts:IssueWorkloadIdentityContext` (called by the attesting service) [IAM-AP].
- AgentCore control plane: `CreateAgentRuntime` / `UpdateAgentRuntime` take `workloadIdentityTemplateArn` (CLI `--workload-identity-template-arn`); `CreateGateway` / `UpdateGateway` take the same; `CreateGatewayTarget` / `UpdateGatewayTarget` set outbound authorization type `JWT_SVID` [IAM-AC].
- EKS: `aws eks update-pod-identity-association --workload-identity-config '{"enabled": true, "templateArn": ..., "providerArn": ...}'` (both ARNs required) [IAM-GS].
- Agent code (Python): import `bedrock_agentcore` before creating any boto3 client; the SDK puts identity-carrying credentials on the default credential chain. A client created before the import uses the execution role credentials without the identity [AC-RT].

Create provider (verbatim) [IAM-CP]:

```
aws iam create-workload-identity-provider \
  --resource-scope ACCOUNT \
  --provider-name payments-prod \
  --scheme SPIFFE \
  --workload-identity-domain 111122223333.aws.internal
```

Create template from the AgentCore runtime definition (verbatim) [AC-RT]:

```
aws iam create-workload-identity-template \
  --template-definition '{
    "TemplateDefinitionArn": "arn:aws:iam::aws:workload-identity-template-definition/bedrock-agentcore.amazonaws.com/runtime/account-provider-default:1",
    "ReplacementValues": {
      "Name": { "Values": ["agentcore-runtimes"] },
      "WorkloadIdentityProviderArn": { "Values": ["arn:aws:iam::111122223333:workload-identity-provider/default"] }
    }
  }'
```

Create runtime with the template (verbatim, elided by the docs with "...") [AC-RT]:

```
aws bedrock-agentcore-control create-agent-runtime \
  --agent-runtime-name "agentA" \
  --role-arn "arn:aws:iam::111122223333:role/AgentExecutionRole" \
  --platform-version V2 \
  --workload-identity-template-arn "arn:aws:iam::111122223333:workload-identity-template/my-template" \
  ...
```

Create gateway with the template (verbatim) [IAM-AC]:

```
aws bedrock-agentcore-control create-gateway \
  --name payments-tools \
  --authorizer-type AWS_IAM \
  --role-arn arn:aws:iam::444455556666:role/AgentCoreGatewayRole \
  --workload-identity-template-arn arn:aws:iam::444455556666:workload-identity-template/agentcore-gateways
```

Agent code (verbatim) [AC-RT]:

```
from bedrock_agentcore import BedrockAgentCoreApp  # import before boto3
import boto3
app = BedrockAgentCoreApp()
@app.entrypoint
def handler(payload, context):
    s3 = boto3.client("s3")  # uses credentials that carry the agent's identity
    obj = s3.get_object(Bucket="amzn-s3-demo-bucket", Key="report.txt")
    return {"bytes": obj["ContentLength"]}
if __name__ == "__main__":
    app.run()
```

#### IAM actions

- Management actions named in docs: `iam:CreateWorkloadIdentityProvider`, `iam:GetWorkloadIdentityProvider`, `iam:ListWorkloadIdentityProviders`, `iam:DeleteWorkloadIdentityProvider`, `iam:PutWorkloadIdentityProviderResourcePolicy`, `iam:CreateWorkloadIdentityProviderOutboundSigner`, `iam:DisableWorkloadIdentityProviderOutboundSigner`, `iam:DeleteWorkloadIdentityProviderOutboundSigner`, `iam:CreateWorkloadIdentityTemplate`, `iam:GetWorkloadIdentityTemplate`, `iam:ListWorkloadIdentityTemplates`, `iam:DeleteWorkloadIdentityTemplate`, `iam:AssociateWorkloadIdentityTemplate`, `iam:DisassociateWorkloadIdentityTemplate`, `iam:PutWorkloadIdentityTemplateAttestationPolicy`, `iam:GetWorkloadIdentityTemplateAttestationPolicy`, `iam:PassWorkloadIdentityTemplate`, `iam:ListWorkloadIdentities`, `iam:EnableOrganizationLevelResources`, `iam:ListOrganizationsFeatures` [IAM-GS] [IAM-CA] [AC-RT].
- Workload-side actions: `sts:GetWebIdentityToken`, `sts:GetCertificate` (no resource-level permissions, `Resource` is `*`) [IAM-GS]. Node role on EKS: `sts:GetTrustBundles` [EKS-UG].
- Attesting service principals: `pods.eks.amazonaws.com` (EKS), `bedrock-agentcore.amazonaws.com` (AgentCore runtime and gateway) [IAM-AP].

#### Condition keys

- On role sessions: `aws:OriginIdentity/Subject`, `aws:OriginIdentity/SubjectType` (workload or user), `aws:OriginIdentity/Issuer`, `aws:OriginIdentity/WorkloadIdentityTemplateArn`, `aws:OriginIdentity/IdentityProviderAccount`, `aws:OriginIdentity/IdentityProviderOrgID`, `aws:OriginIdentity/IssuedFor`. Usable in resource-based policies, identity-based policies, SCPs and RCPs [IAM-CK].
- Attestation facts (attestation policies and role trust policies): `aws:WorkloadAttestation/aws/bedrock-agentcore/RuntimeId`, `.../RuntimeName`, `.../RuntimeVersion`, `.../RuntimeSessionId`, `.../GatewayId`, `.../GatewayName`; `aws:WorkloadAttestation/aws/eks/ClusterName`, `ClusterArn`, `Namespace`, `ServiceAccount`, `PodName`, `PodUid`, `NodeName` [IAM-CK].
- Role trust policy keys: `sts:RequestContext/WorkloadIdentifier`, `sts:RequestContext/SubjectType`, `sts:RequestContextProviders` [IAM-CK] [IAM-CA].
- Management keys: `iam:WorkloadIdentityPathPrefix`, `iam:PassedToService` [IAM-CA]. Also named in docs: `iam:WorkloadIdentityPathPattern`, `iam:WorkloadIdentityProviderDomain`, `iam:WorkloadIdentityProviderScope`, `iam:WorkloadIdentityResourceScope`, `iam:CertificateAuthorityAccount`, `sts:TokenType` (AWSIdentity or JWT_SVID), `sts:IdentityTokenAudience` [IAM-CA] [IAM-AC] (exact semantics of the first five not read in detail: unverified).
- Guidance: always match Subject and Issuer together, and use string operators for both [IAM-CA].
- Propagation: the identity carries over on role chaining within the same account or the same organization; it is dropped when assuming a role in a different organization [IAM-CA].

#### Policy examples (verbatim)

S3 bucket policy that lets only agents named agentA read objects with the execution role [AC-RT]:

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAgentA",
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::111122223333:role/AgentCoreExecutionRole" },
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*",
      "Condition": {
        "StringLike": { "aws:OriginIdentity/Subject": "spiffe://111122223333.aws.internal/us-east-1/bedrock-agentcore/runtime/agentA/agentA-*" },
        "StringEquals": { "aws:OriginIdentity/Issuer": "arn:aws:iam::111122223333:workload-identity-provider/default" }
      }
    },
    {
      "Sid": "DenyRoleWithoutAgentA",
      "Effect": "Deny",
      "Principal": { "AWS": "arn:aws:iam::111122223333:role/AgentCoreExecutionRole" },
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*",
      "Condition": {
        "StringNotLike": { "aws:OriginIdentity/Subject": "spiffe://111122223333.aws.internal/us-east-1/bedrock-agentcore/runtime/agentA/agentA-*" }
      }
    },
    {
      "Sid": "DenyRoleWithOtherProvider",
      "Effect": "Deny",
      "Principal": { "AWS": "arn:aws:iam::111122223333:role/AgentCoreExecutionRole" },
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*",
      "Condition": {
        "StringNotEquals": { "aws:OriginIdentity/Issuer": "arn:aws:iam::111122223333:workload-identity-provider/default" }
      }
    }
  ]
}
```

Bucket policy statement that allows one agent whichever role it uses [IAM-AC]:

```
{
  "Effect": "Allow",
  "Principal": "*",
  "Action": "s3:GetObject",
  "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*",
  "Condition": {
    "StringLike": {
      "aws:OriginIdentity/Subject": "spiffe://444455556666.aws.internal/us-west-2/bedrock-agentcore/runtime/claims_processor/*"
    },
    "StringEquals": {
      "aws:PrincipalAccount": "444455556666",
      "aws:OriginIdentity/Issuer": "arn:aws:iam::444455556666:workload-identity-provider/claims"
    }
  }
}
```

Note: with `"Principal": "*"`, include `aws:PrincipalOrgID`, `aws:PrincipalAccount` or `aws:PrincipalArn`, otherwise S3 Block Public Access treats the policy as public [IAM-CA].

Permission to pass a template to AgentCore [AC-RT]:

```
{
"Version":"2012-10-17",
  "Statement": [
    {
      "Sid": "PassWorkloadIdentityTemplate",
      "Effect": "Allow",
      "Action": "iam:PassWorkloadIdentityTemplate",
      "Resource": [
        "arn:aws:iam::111122223333:workload-identity-template/*",
        "arn:aws:iam::o-a1b2c3d4e5:workload-identity-template/*"
      ],
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "bedrock-agentcore.amazonaws.com"
        }
      }
    }
  ]
}
```

Attestation policy written by the AgentCore Runtime definitions [AC-RT]:

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": { "Service": "bedrock-agentcore.amazonaws.com" },
      "Action": "sts:IssueWorkloadIdentityContext",
      "Condition": {
        "StringEquals": { "aws:SourceAccount": "111122223333" }
      }
    }
  ]
}
```

Gateway execution role policy to get JWT-SVIDs for its targets [IAM-AC]:

```
{
  "Version": "2012-10-17",
  "Statement": [{
    "Sid": "GetJwtSvidForTargets",
    "Effect": "Allow",
    "Action": "sts:GetWebIdentityToken",
    "Resource": "*",
    "Condition": {
      "ForAllValues:StringEquals": { "sts:IdentityTokenAudience": ["https://api.example.com"] },
      "Null": { "sts:IdentityTokenAudience": "false" }
    }
  }]
}
```

Workload role policy to request external credentials for its own identity [IAM-GS]:

```
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["sts:GetWebIdentityToken", "sts:GetCertificate"],
    "Resource": "*",
    "Condition": {
      "StringEquals": {
        "aws:OriginIdentity/Subject": "spiffe://111122223333.aws.internal/us-east-1/eks/prod-cluster-1/ns/payments/sa/checkout-sa"
      }
    }
  }]
}
```

Optional role trust policy that admits only workloads from your provider (EKS example) [IAM-CA]:

```
{
  "Version": "2012-10-17",
  "Statement": [{
    "Sid": "AllowOnlyPaymentsProdWorkloads",
    "Effect": "Allow",
    "Principal": { "Service": "pods.eks.amazonaws.com" },
    "Action": ["sts:AssumeRole", "sts:TagSession"],
    "Condition": {
      "ForAllValues:StringEquals": { "sts:RequestContextProviders": "arn:aws:iam::111122223333:workload-identity-provider/payments-prod" },
      "Null": { "sts:RequestContextProviders": "false" }
    }
  }]
}
```

#### Trust policy: docs disagree

- IAM User Guide: the role trust policy does not change; STS attaches the identity "without an sts:SetContext statement or any new condition" [IAM-CA]. AgentCore guide: "You don't need to update your existing execution role." [AC-RT]
- EKS User Guide: says to add `sts:SetContext` to the trust policy statement for `pods.eks.amazonaws.com` and `sts:GetTrustBundles` to the node role [EKS-UG]. This conflict between primary sources is unresolved: unverified which is correct for EKS. It does not affect the AgentCore path.

#### CloudFormation and Terraform

- EKS: `AWS::EKS::PodIdentityAssociation` has a `WorkloadIdentityConfig` property [CFN-EKS]. [WN-EKS] also lists AWS CloudFormation as a way to enable it.
- IAM provider and template: the EKS guide says custom templates can be created "through the IAM console, the AWS CLI, or AWS CloudFormation" [EKS-UG], but no `AWS::IAM::WorkloadIdentity*` type appeared in the CloudFormation IAM resource index when read (https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/AWS_IAM.html). Resource type names: unverified.
- AgentCore: no `WorkloadIdentity*` property appeared on the CloudFormation pages for the AgentCore runtime or gateway resources when read (https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-bedrockagentcore-runtime.html). CloudFormation support for the AgentCore side: unverified.
- Terraform: not mentioned in any source read. Unverified.

### 4. Pricing dimensions

- "Identities for agents and workloads are offered at no additional charge during the preview." [IAM-AWI]
- Only stated cost dimension: if you attach an AWS Private CA to issue X.509-SVIDs, AWS Private CA charges for the certificate authority and the certificates it issues apply [IAM-AWI]. JWT-SVIDs need no CA (IAM-managed signing keys) [IAM-CP].
- EKS integration: "available at no additional charge" [WN-EKS].
- Credential Broker (sibling): "at no additional cost during the preview" [WN-CB].
- No pricing page exists for IAM for agents in the sources read; post-preview pricing is not stated. Unverified.
- Underlying compute (AgentCore Runtime, EKS, S3, CloudTrail data events) is billed as usual; not restated in these sources: unverified.

### 5. Quotas and limits

- Providers: "An account can have up to 50 providers, and an organization can have up to 5 organization-level providers." [IAM-MP]
- Scale claim: "Set up once per account or organization and scale to millions of agents and workloads." [WN-IAM]
- Identifier length: 256 characters maximum including the trust domain; "This limit might change." Over the limit, AgentCore invocation fails with ValidationException [AC-RT]. Path prefix: up to 64 characters [IAM-TPL].
- Provider name: 1 to 128 characters; description up to 255 characters; trust domain up to 64 characters [IAM-CP] [IAM-MP].
- JWT-SVID lifetime: 60 to 3,600 seconds, default 300, and never longer than the remaining role session [IAM-GS]. Gateway-issued JWT-SVIDs are valid for 5 minutes [IAM-AC].
- X.509-SVID lifetime: 3,600 to 43,200 seconds, default 43,200 (12 hours); certificates cannot be revoked [IAM-GS]. A newly attached CA starts signing about 1 hour after you attach it [IAM-GS].
- X.509 signers: one per key algorithm per provider, each keeping up to 5 entries through rotations [IAM-SIG].
- Attestation context validity: 60 to 300 seconds after issuance [IAM-LOG].
- Propagation delay: after creating a template or changing its attestation policy, invocations can fail with AccessDeniedException for a few minutes [AC-RT].
- Preview limitations on AgentCore Runtime [AC-RT] [IAM-AC]:
  - The agent also holds the execution role credentials without the identity, so a Deny that names the agent identity does not stop those calls. Deny the execution role when the identity does not match.
  - Cannot be enabled on an existing runtime or gateway; cannot be removed; cannot move a runtime with a template to platform version V1.
  - `CreateAgentRuntime` and `UpdateAgentRuntime` do not check that the template exists.
  - Deleting a template makes every invocation of runtimes using it fail.
  - Gateways support JWT-SVIDs only, not X.509-SVIDs.
- No IAM CloudWatch metrics are published for agent and workload identity [IAM-LOG].
- Template count quotas, API rate limits and Service Quotas entries: not found in the sources read (the IAM quotas page https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html had no workload identity entries). Unverified.

### 6. Sample repos, workshops, quick starts

- Quick start (EKS, about 30 minutes without the X.509 step): "Getting started with agent and workload identity" [IAM-GS].
- Quick start (AgentCore Runtime): "Agent and workload identity for AgentCore Runtime (preview)", includes the Python agent and bucket policy [AC-RT].
- AgentCore Gateway setup: [AC-GW] (page fetched, not read in detail).
- Console entry points: IAM console, "Agent and workload identity" (https://console.aws.amazon.com/iam/agent-workload-identity/) [IAM-CP]; AgentCore console "Enable IAM for agents" with "Auto create a new setup" [AC-RT].
- Example policies referenced by the docs (not read): https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_agent-workload-manage.html and https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_agent-workload-enable-console.html [AC-RT].
- GitHub sample repos: none found in any source read.
- Workshops: none found in any source read.
- Launch blog dedicated to agent and workload identity: none found in the AWS News Blog feed (https://aws.amazon.com/blogs/aws/feed/) or AWS Security Blog feed (https://aws.amazon.com/blogs/security/feed/) as of read time. Related Security Blog post on the sibling capability: https://aws.amazon.com/blogs/security/secure-agentic-access-to-aws-with-enterprise-managed-authorization/ (not read).

### 7. Customer or executive quotes

- Customer quotes: none found. The product page [PAGE], What's New posts [WN-IAM] [WN-EKS], and docs carry no customer quotes.
- Executive statement (bylined blog prose, not a pull quote): "Those rules need to apply to the right agent. New AWS IAM for agents gives each agent an identity of its own, building on existing IAM roles and policies, so customers can define agent access and see which actions it has taken." Dr. Matt Wood, AWS News Blog, "AWS builds for more ambitious agents", 2026-12-01 [BLOG]. Author taken from the RSS `dc:creator` field; his title is not stated in the feed: unverified.
- The re:Invent roundup at https://www.aboutamazon.com/news/aws/aws-re-invent-2026-ai-news-updates did not mention IAM for agents, workload identity or Credential Broker when read.

### 8. Simplest hands-on demo

Goal: two AgentCore runtimes share one execution role; the bucket lets agentA read and denies agentB; CloudTrail shows which agent was which. All steps below are from [AC-RT] and [IAM-AC] unless noted.

Honest timing: the demo itself (invoke twice, show CloudTrail) takes about 5 minutes. Setup takes longer because each runtime must be newly created (cannot be enabled on an existing runtime) and the agent must be packaged with the latest AgentCore SDK. The docs give no time estimate for the AgentCore path (the EKS path is stated as about 30 minutes [IAM-GS]): unverified.

Setup:

1. Package the Python agent shown in section 3 (import `bedrock_agentcore` before boto3; `s3.get_object` on a test object).
2. In the AgentCore console, create runtime `agentA` with platform version V2, select "Enable IAM for agents", choose "Auto create a new setup". The console creates provider `default` (trust domain `<account>.aws.internal`) and the default template if missing. Or use the two CLI commands in section 3.
3. Create a second runtime `agentB` the same way with the same execution role and the same code.
4. Give the execution role `s3:GetObject` on the test bucket in its identity policy (so that only the bucket policy differentiates the agents).
5. Apply the three-statement bucket policy from section 3 (AllowAgentA, DenyRoleWithoutAgentA, DenyRoleWithOtherProvider), substituting account, role and Region.
6. Wait a few minutes for template propagation.

Demo:

1. Invoke `agentA`: returns `{"bytes": ...}`. Allowed because the call carries `aws:OriginIdentity/Subject` = `spiffe://<account>.aws.internal/<region>/bedrock-agentcore/runtime/agentA/agentA-<suffix>`.
2. Invoke `agentB`: the S3 call fails with AccessDenied. Same role, different identity, so `DenyRoleWithoutAgentA` applies.
3. CloudTrail Event history, filter Event name `AssumeRole`: open the two events for the execution role and show `userIdentity.onBehalfOf.subject` (agentA vs agentB identifier), `subjectType: "workload"`, `issuer`, and `workloadIdentityTemplateArn`. Event history needs no setup and covers management events for 90 days [IAM-LOG].

Caveats to state during the demo:

- The S3 `GetObject` allow and deny are data events; they appear only in a trail or event data store that logs S3 data events, not in Event history [IAM-GS]. Without a trail, the visible evidence is the agent response (success vs AccessDenied) plus the two AssumeRole events.
- The two guides differ on later calls: the AgentCore guide says events for the agent's later calls "show the execution role's session, not the identity" [AC-RT], while the IAM guide says later calls carry `userIdentity.onBehalfOf` and, if absent, to match the session access key ID to the AssumeRole event [IAM-LOG]. Plan to correlate by access key ID. Which behaviour holds on AgentCore: unverified.
- The Deny statements are required. An Allow alone does not restrict a role whose own policy grants access, and during the preview the agent also holds role credentials without the identity [AC-RT].
- Use a test bucket: the Deny statements block the execution role for every other caller.
- Nothing here was executed; the demo is derived from the docs only. Unverified in practice.

Cleanup: delete both runtimes, remove the bucket policy or bucket, delete the template, then the provider [IAM-GS].

### Addendum: second read of AC-RT on 2026-12-01

Found when the AgentCore Runtime guide (short key AC-RT above) was fetched again while writing the kit docs. Re-read the page for exact wording before quoting.

- A runtime created with a template can switch to a different template with `UpdateAgentRuntime`. A template cannot be added to a runtime created without one, and cannot be removed.
- A runtime with a template can still use AgentCore Identity for OAuth tokens and API keys with the latest AgentCore SDK.
- The AgentCore SDK calls the AgentCore Identity service to obtain the identity-carrying role credentials. The two features are distinct, but the plumbing touches AgentCore Identity.
- Revoking an agent identity: delete the template, then revoke the role's active sessions.
- The AWS News Blog page body could not be re-loaded, so the Dr. Matt Wood sentence rests on a single read and his title is unverified.

### Addendum: observed on first deploy, 2026-12-01

From running the POC in us-east-1, not from documentation.

- No allowlist was needed: the workload identity provider, template and two AgentCore runtimes (platform version V2, VPC mode, direct code deployment) were created from a standard account.
- Observed in this POC on 2026-12-01 (AgentCore Runtime, us-east-1): no event carried `userIdentity.onBehalfOf`. CloudTrail recorded a `GetIAMWorkloadIdentityCredentials` event from `bedrock-agentcore.amazonaws.com` for each runtime, naming the runtime, the workload identity provider and the role session it issued. The S3 data events show the shared role and that role session name, so the two join on the session name.
- agentA read the object; agentB, with the same execution role and the same request, got AccessDenied from the bucket policy.

[AC-GW]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-setup-workload-identity.html
[AC-RT]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html
[BLOG]: https://aws.amazon.com/blogs/aws/aws-builds-for-more-ambitious-agents/
[CFN-EKS]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-eks-podidentityassociation.html
[EKS-UG]: https://docs.aws.amazon.com/eks/latest/userguide/pod-identity-workload-identity.html
[IAM-AC]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-agentcore.html
[IAM-AP]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-attestation-policies.html
[IAM-AWI]: https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html
[IAM-CA]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-control-access.html
[IAM-CK]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-condition-keys.html
[IAM-CP]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-create-provider.html
[IAM-GS]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-getting-started.html
[IAM-HUB]: https://docs.aws.amazon.com/IAM/latest/UserGuide/iam-for-agents.html
[IAM-LOG]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-logging-monitoring.html
[IAM-MP]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-manage-providers.html
[IAM-SIG]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-signing-trust-bundle.html
[IAM-TPL]: https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-templates.html
[PAGE]: https://aws.amazon.com/iam/agents/
[WN-CB]: https://aws.amazon.com/about-aws/whats-new/2026/11/aws-iam-credential-broker-preview/
[WN-EKS]: https://aws.amazon.com/about-aws/whats-new/2026/12/eks-supports-iam-for-agents-preview/
[WN-IAM]: https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/
[WN-REG]: https://aws.amazon.com/about-aws/whats-new/2026/12/aws-agent-registry-fleet-view-governance/
poc/UNVERIFIED.md

Download

# Unverified until the first deploy

Nothing in this POC has run against AWS. It was built from the docs read on 2026-12-01, the service models in boto3/botocore 1.44.17 and the source of the AgentCore SDK 1.30.0. Check each item on the first `make deploy verify` and delete it once confirmed.

## Decisions that differ from the brief

1. **One template, not one per agent.** Both runtimes use the same workload identity template. IAM rejects two templates with the same path prefix and path pattern under one provider (EntityAlreadyExists), and the docs' own demo uses one template: the identity differs because the runtime name and ID are part of the identifier.

## Preview behaviour

2. **No gate on the preview.** The docs describe no allowlist. If `CreateWorkloadIdentityProvider` or `CreateAgentRuntime` with `workloadIdentityTemplateArn` returns AccessDenied or ValidationException for an admin caller, the account is not enabled.
3. **Platform version V2 with direct code deployment in VPC mode in us-east-1.** Each is documented; the combination with a workload identity template is not shown anywhere. V2 availability by Region was not read.
4. **Trust domain.** The provider is named after the project and uses `<account-id>.aws.internal`. Trust domains are unique per account, so if a provider (for example the console's `default`) already uses that domain, creation fails: set `TF_VAR_trust_domain` to another value (for example `agents.field-kit.internal`) for both `make deploy` and `make destroy`.
5. **Template definition with a provider not named `default`.** The docs show `account-provider-default:1` with providers named `default` and `claims`, so this should work.
6. **Bucket policy before identities exist.** Terraform writes the policy from the documented identifier format before any runtime exists. The docs say this is supported. Confirm the real `subject` in CloudTrail matches `spiffe://<trust-domain>/us-east-1/bedrock-agentcore/runtime/agentA/agentA-*`.
7. **S3 accepts `aws:OriginIdentity/*` condition keys in a bucket policy** in the deploy account, as the docs show.
8. **Template propagation.** Invocations can fail with AccessDeniedException for "a few minutes" after the template is created. `agentctl.py invoke` retries for 5 minutes (`INVOKE_WAIT`).

## Network

9. **VPC endpoints.** S3 gateway, plus `logs` and `bedrock-agentcore` interface endpoints. The docs require ECR (containers only), S3 and logs. `bedrock-agentcore` is added because the SDK exchanges the identity context at the AgentCore data plane (`/identities/GetIAMWorkloadIdentityCredentials`, read from the SDK source, not from the docs). No STS endpoint: the SDK does not call STS. If an invocation times out, add `sts` to `TF_VAR_interface_endpoint_services` first.
10. **S3 gateway endpoint policy.** Scoped to the demo bucket and the documented `acr-code-*-<region>-an` service buckets. If runtime creation or start fails on V2 (snapshot build), loosen this policy first.
11. **Security group egress.** HTTPS to the endpoints and the S3 prefix list only. Assumes the microVM reaches its metadata service and DNS without a rule.
12. **Supported AZ IDs.** `use1-az1` and `use1-az2` are from the docs table for us-east-1.

## Agent and execution role

13. **Execution role policy.** Logs statements from the direct code deployment guide plus `s3:GetObject` on the demo and code buckets. X-Ray, CloudWatch metrics and Bedrock model statements are left out because the agent uses none of them. The docs say the role needs no permission for the identity exchange.
14. **Environment variables.** The agent reads `DEMO_BUCKET`, `DEMO_KEY`, `DEMO_REGION` and `AGENT_NAME` set through `environmentVariables`.
15. **Invoke response shape.** `agentctl.py` handles `application/json` and `text/event-stream`, and a JSON string that itself contains JSON.

## CloudTrail evidence

16. **Where `onBehalfOf` appears.** Resolved on first deploy (2026-12-01): it did not appear on any event. Observed in this POC on 2026-12-01 (AgentCore Runtime, us-east-1): no event carried `userIdentity.onBehalfOf`. CloudTrail recorded a `GetIAMWorkloadIdentityCredentials` event from `bedrock-agentcore.amazonaws.com` for each runtime, naming the runtime, the workload identity provider and the role session it issued. The S3 data events show the shared role and that role session name, so the two join on the session name. `agentctl.py evidence` uses that join.
17. **AssumeRole events in Event history.** Resolved on first deploy (2026-12-01): the role session is issued through `GetIAMWorkloadIdentityCredentials`, which is in Event history; no matching `AssumeRole` event was recorded.
18. **Denied data events.** Assumes the trail logs agentB's denied `GetObject` with `errorCode` `AccessDenied` and the caller's access key ID.
19. **Delivery delay.** The 15 minute bound (`EVIDENCE_WAIT=900`) is a working assumption, not a documented figure.

## Teardown

20. **Network interfaces.** AgentCore can keep its network interfaces in the VPC for up to 8 hours after the runtimes are deleted. `make destroy` waits 15 minutes (`ENI_WAIT`); if they are still there, Terraform fails on the subnets and security group and `make destroy` must be run again later. Everything else is removed on the first run.
21. **Provider deletion** is asynchronous; the script polls the deletion task for up to 10 minutes. Its public keys stay published for 12 hours (documented, not a leftover resource).
22. **Runtime log groups.** Assumed to be named `/aws/bedrock-agentcore/runtimes/<runtime-id>-...`; the script deletes groups with the prefixes `agentA-` and `agentB-`.
23. **Service-linked role** `AWSServiceRoleForBedrockAgentCoreNetwork` is created by AgentCore on first VPC use, is shared by the account and is not removed.
24. **Tags on provider and template** are passed at creation (`Tags`); whether the Resource Groups Tagging API lists these resource types for the leftover check is unknown, so `agentctl.py leftovers` checks them by ARN.

## Tooling

25. **Terraform.** hashicorp/aws `~> 6.73` validated this configuration; its resource list was not searched for workload identity resources or a `workload_identity_template_arn` argument on the AgentCore runtime resource. The script is used either way because botocore 1.44.17 has every operation.
26. **AWS CLI 2.37.0** on this machine was not checked for the new commands; nothing in the POC depends on it for them.
27. **Interface endpoint price** (about USD 0.01 per endpoint per AZ per hour) is from memory, not from a pricing page read today.
poc/agent/main.py

Download

"""Reads one S3 object and reports what happened.

Both demo runtimes run this same file with the same execution role. The only
difference between them is the identity AWS attaches to their credentials.
"""
from bedrock_agentcore import BedrockAgentCoreApp  # import before boto3

import os

import boto3
from botocore.exceptions import ClientError

app = BedrockAgentCoreApp()


@app.entrypoint
def handler(payload, context):
    # Created after the bedrock_agentcore import, so the client uses the
    # credentials that carry the agent's identity.
    s3 = boto3.client("s3", region_name=os.environ["DEMO_REGION"])
    result = {"agent": os.environ["AGENT_NAME"], "object": f"s3://{os.environ['DEMO_BUCKET']}/{os.environ['DEMO_KEY']}"}
    try:
        obj = s3.get_object(Bucket=os.environ["DEMO_BUCKET"], Key=os.environ["DEMO_KEY"])
        return {**result, "result": "allowed", "content": obj["Body"].read().decode().strip()}
    except ClientError as e:
        return {**result, "result": "denied", "error": e.response["Error"]["Code"]}


if __name__ == "__main__":
    app.run()
poc/agent/pyproject.toml

Download

[project]
name = "identity-demo-agent"
version = "1.0.0"
requires-python = ">=3.13"
# 1.30.0 is the first AgentCore SDK release checked to contain the workload
# identity credential exchange (GetIAMWorkloadIdentityCredentials).
dependencies = ["bedrock-agentcore>=1.30.0"]
poc/agentctl.py

Download

#!/usr/bin/env python3
"""Manages and exercises the parts of the POC that Terraform has no resources for.

  package    build the agent .zip for direct code deployment
  deploy     workload identity provider, template, and the two AgentCore runtimes
  policy     print the demo bucket policy
  invoke     ask one agent to read the demo object
  evidence   show in CloudTrail which agent made which S3 call
  destroy    delete the runtimes, template, provider and runtime log groups
  leftovers  list anything destroy should have removed

Run through the kit Makefile, which sets AWS_PROFILE, AWS_REGION and PROJECT.
"""
import argparse
import datetime
import functools
import json
import os
import re
import subprocess
import sys
import time
import uuid
import zipfile
from pathlib import Path

import boto3
from botocore.exceptions import ClientError

KIT = Path(__file__).resolve().parent.parent
BUILD = KIT / "build"
DEMO = BUILD / "demo"
AGENT_SRC = KIT / "poc" / "agent"

PROJECT = os.environ.get("PROJECT", f"field-kit-{KIT.name}")
REGION = os.environ.get("AWS_REGION", "us-east-1")
AGENTS = ["agentA", "agentB"]
ALLOWED_AGENT = "agentA"
PROMPT = {"prompt": "read the object"}

# One identity per runtime under an account-level provider:
# spiffe://<trust-domain>/<region>/bedrock-agentcore/runtime/<runtime-name>/<runtime-id>
TEMPLATE_DEFINITION = (
    "arn:aws:iam::aws:workload-identity-template-definition/"
    "bedrock-agentcore.amazonaws.com/runtime/account-provider-default:1"
)
CODE_KEY = "agent/deployment_package.zip"
PYTHON_VERSION = "3.13"
MISSING = ("NoSuchEntity", "NoSuchEntityException", "ResourceNotFoundException")

session = boto3.Session(region_name=REGION)
iam = session.client("iam")
control = session.client("bedrock-agentcore-control")


def say(text=""):
    """Print with account IDs masked, so output can go straight into screenshots."""
    print(re.sub(r"(?<![0-9A-Za-z])[0-9]{12}(?![0-9A-Za-z])", "<account>", str(text)), flush=True)


def progress(text):
    print(f"   ... {text}", file=sys.stderr, flush=True)


def config():
    path = BUILD / "config.json"
    if not path.exists():
        sys.exit("build/config.json not found: run make deploy first.")
    return {k: v["value"] for k, v in json.loads(path.read_text()).items()}


@functools.lru_cache
def account_id():
    return session.client("sts").get_caller_identity()["Account"]


def provider_arn():
    return f"arn:aws:iam::{account_id()}:workload-identity-provider/{PROJECT}"


def template_arn():
    return f"arn:aws:iam::{account_id()}:workload-identity-template/{PROJECT}"


def is_missing(error):
    return error.response["Error"]["Code"] in MISSING


def find_runtime(name):
    """Return the runtime summary for a runtime name, or None. Refuses runtimes this kit does not own."""
    for page in control.get_paginator("list_agent_runtimes").paginate():
        for rt in page["agentRuntimes"]:
            if rt["agentRuntimeName"] == name:
                tags = control.list_tags_for_resource(resourceArn=rt["agentRuntimeArn"]).get("tags", {})
                if tags.get("Project") != PROJECT:
                    sys.exit(f"A runtime named {name} exists but is not tagged Project={PROJECT}. Not touching it.")
                return rt
    return None


# ---------------------------------------------------------------------------
# package
# ---------------------------------------------------------------------------

def package():
    """Build the .zip the way the direct code deployment guide does: arm64 Linux wheels plus main.py."""
    target = BUILD / "package"
    subprocess.run(
        ["uv", "pip", "install", "--quiet",
         "--python-platform", "aarch64-manylinux2014",
         "--python-version", PYTHON_VERSION,
         "--target", str(target),
         "--only-binary=:all:",
         "-r", str(AGENT_SRC / "pyproject.toml")],
        check=True,
    )
    archive = BUILD / "deployment_package.zip"
    files = sorted(p for p in target.rglob("*") if p.is_file() and "__pycache__" not in p.parts and p.name != ".lock")
    with zipfile.ZipFile(archive, "w", zipfile.ZIP_DEFLATED) as z:
        for path, name in [(p, p.relative_to(target).as_posix()) for p in files] + [(AGENT_SRC / "main.py", "main.py")]:
            info = zipfile.ZipInfo(name, date_time=(2026, 1, 1, 0, 0, 0))
            info.compress_type = zipfile.ZIP_DEFLATED
            # AgentCore Runtime needs 644 on files and 755 on executables.
            info.external_attr = (0o755 if os.access(path, os.X_OK) else 0o644) << 16
            z.writestr(info, path.read_bytes())
    say(f"Packaged {archive.relative_to(KIT)} ({archive.stat().st_size / 1e6:.1f} MB, {len(files) + 1} files)")
    return archive


# ---------------------------------------------------------------------------
# deploy
# ---------------------------------------------------------------------------

def deploy():
    cfg = config()
    tags = {**cfg["tags"], "ManagedBy": "script"}
    tag_list = [{"Key": k, "Value": v} for k, v in tags.items()]

    say("== Workload identity provider")
    try:
        provider = iam.get_workload_identity_provider(WorkloadIdentityProviderArn=provider_arn())
        say(f"exists: {provider['Arn']}")
    except ClientError as e:
        if not is_missing(e):
            raise
        provider = iam.create_workload_identity_provider(
            ProviderName=PROJECT,
            Description="Issues identities to the field kit demo agents",
            ResourceScope="ACCOUNT",
            Scheme="SPIFFE",
            WorkloadIdentityDomain=cfg["wi_trust_domain"],
            Tags=tag_list,
        )
        say(f"created: {provider['Arn']}")
    say(f"trust domain: {provider['WorkloadIdentityDomain']}")

    say("\n== Workload identity template")
    try:
        template = iam.get_workload_identity_template(WorkloadIdentityTemplateArn=template_arn())
        say(f"exists: {template['Arn']}")
    except ClientError as e:
        if not is_missing(e):
            raise
        template = iam.create_workload_identity_template(
            TemplateDefinition={
                "TemplateDefinitionArn": TEMPLATE_DEFINITION,
                "ReplacementValues": {
                    "Name": {"Values": [PROJECT]},
                    "WorkloadIdentityProviderArn": {"Values": [provider["Arn"]]},
                },
            },
            Tags=tag_list,
        )
        say(f"created: {template['Arn']}")
    say(f"path pattern: {template['PathPattern']}")

    say("\n== Agent deployment package")
    archive = package()
    session.client("s3").upload_file(
        str(archive), cfg["code_bucket"], CODE_KEY, ExtraArgs={"ExpectedBucketOwner": account_id()}
    )
    say(f"uploaded to s3://{cfg['code_bucket']}/{CODE_KEY}")

    say("\n== AgentCore runtimes (same code, same execution role, same template)")
    ids = {}
    for name in AGENTS:
        rt = find_runtime(name)
        if rt:
            say(f"{name}: exists ({rt['agentRuntimeId']})")
        else:
            rt = control.create_agent_runtime(
                agentRuntimeName=name,
                description="Field kit demo: reads one S3 object",
                agentRuntimeArtifact={
                    "codeConfiguration": {
                        "code": {"s3": {"bucket": cfg["code_bucket"], "prefix": CODE_KEY}},
                        "runtime": "PYTHON_" + PYTHON_VERSION.replace(".", "_"),
                        "entryPoint": ["main.py"],
                    }
                },
                roleArn=cfg["execution_role_arn"],
                networkConfiguration={
                    "networkMode": "VPC",
                    "networkModeConfig": {
                        "subnets": cfg["subnet_ids"],
                        "securityGroups": [cfg["security_group_id"]],
                    },
                },
                platformVersion="V2",
                workloadIdentityTemplateArn=template["Arn"],
                environmentVariables={
                    "AGENT_NAME": name,
                    "DEMO_BUCKET": cfg["data_bucket"],
                    "DEMO_KEY": cfg["demo_key"],
                    "DEMO_REGION": REGION,
                },
                lifecycleConfiguration={"idleRuntimeSessionTimeout": 300, "maxLifetime": 1800},
                tags=tags,
            )
            say(f"{name}: creating ({rt['agentRuntimeId']})")
        ids[name] = rt["agentRuntimeId"]

    # Platform version V2 prepares a snapshot, so READY takes several minutes.
    deadline = time.time() + 30 * 60
    pending = dict(ids)
    while pending:
        for name, runtime_id in list(pending.items()):
            rt = control.get_agent_runtime(agentRuntimeId=runtime_id)
            if rt["status"] == "READY":
                say(f"{name}: READY, platform version {rt.get('platformVersion')}, template {rt.get('workloadIdentityTemplateArn')}")
                del pending[name]
            elif rt["status"].endswith("FAILED"):
                sys.exit(f"{name}: {rt['status']}: {rt.get('failureReason', 'no reason given')}")
        if pending:
            if time.time() > deadline:
                sys.exit(f"Timed out waiting for {', '.join(pending)} to become READY.")
            progress(f"waiting for {', '.join(pending)} to become READY")
            time.sleep(20)

    say("\nThe bucket policy allows this identifier pattern:")
    say(f"  {cfg['allowed_subject']}")
    say("A new template can take a few minutes to propagate. make demo retries while it does.")


# ---------------------------------------------------------------------------
# demo steps
# ---------------------------------------------------------------------------

def policy():
    cfg = config()
    document = json.loads(session.client("s3").get_bucket_policy(Bucket=cfg["data_bucket"])["Policy"])
    document["Statement"] = [s for s in document["Statement"] if "OriginIdentity" in json.dumps(s)]
    say(f"Bucket:  {cfg['data_bucket']}")
    say(f"Object:  {cfg['demo_key']}")
    say("Both agents use the same execution role, and the role's own policy allows s3:GetObject.")
    say("The bucket policy is the only place the two agents are told apart:\n")
    say(json.dumps(document, indent=2))


def invoke(name):
    cfg = config()
    rt = find_runtime(name)
    if not rt:
        sys.exit(f"Runtime {name} not found: run make deploy first.")
    data = session.client("bedrock-agentcore")
    session_id = str(uuid.uuid4())
    started = datetime.datetime.now(datetime.timezone.utc)

    # Invocations can fail with AccessDeniedException for a few minutes after
    # the template is created, while it propagates.
    deadline = time.time() + int(os.environ.get("INVOKE_WAIT", "300"))
    while True:
        try:
            response = data.invoke_agent_runtime(
                agentRuntimeArn=rt["agentRuntimeArn"],
                runtimeSessionId=session_id,
                payload=json.dumps(PROMPT).encode(),
            )
            break
        except ClientError as e:
            if e.response["Error"]["Code"] != "AccessDeniedException" or time.time() > deadline:
                raise
            progress("invocation not authorized yet (template still propagating?), retrying")
            time.sleep(20)

    body = response["response"].read().decode()
    if "text/event-stream" in response.get("contentType", ""):
        body = "\n".join(line[6:] for line in body.splitlines() if line.startswith("data: "))
    result = json.loads(body)
    if isinstance(result, str):
        result = json.loads(result)

    say(f"Agent:           {name}")
    say(f"Runtime:         {rt['agentRuntimeArn']}")
    say(f"Execution role:  {cfg['execution_role_arn']}")
    say(f"Request:         {json.dumps(PROMPT)}")
    say(f"S3 call:         GetObject {result.get('object')}")
    if result.get("result") == "allowed":
        say("Result:          ALLOWED")
        say(f"Content:         {result.get('content')}")
    else:
        say(f"Result:          DENIED ({result.get('error')})")

    DEMO.mkdir(parents=True, exist_ok=True)
    (DEMO / f"{name}.json").write_text(json.dumps({**result, "started": started.isoformat()}, indent=2))


def agent_of(runtime_arn):
    """Runtime name from an ARN that ends in runtime/<name>-<suffix>."""
    match = re.search(r"runtime/(.+)-[^-/]+$", runtime_arn or "")
    return match.group(1) if match else None


def collect_evidence(cfg, start):
    """Return (identity-carrying role sessions, GetObject events on the demo object)."""
    trail = session.client("cloudtrail")
    logs = session.client("logs")

    # Management events, from Event history: AgentCore records the exchange that gives a
    # runtime its identity-carrying role session. The event names the runtime, the
    # workload identity provider and the role session it issued.
    sessions = []
    pages = trail.get_paginator("lookup_events").paginate(
        LookupAttributes=[{"AttributeKey": "EventName", "AttributeValue": "GetIAMWorkloadIdentityCredentials"}],
        StartTime=start,
    )
    for page in pages:
        for item in page["Events"]:
            event = json.loads(item["CloudTrailEvent"])
            request = event.get("requestParameters") or {}
            if request.get("roleArn") != cfg["execution_role_arn"]:
                continue
            runtime = next((r["ARN"] for r in event.get("resources", []) if r.get("type") == "AWS::BedrockAgentCore::Runtime"), None)
            sessions.append({
                "time": event["eventTime"],
                "agent": agent_of(runtime),
                "runtime": runtime,
                "provider": ", ".join(c.get("providerArn", "") for c in request.get("providedContexts", [])),
                "roleSessionName": request.get("roleSessionName"),
            })
    by_session = {s["roleSessionName"]: s for s in sessions}

    # Data events, from the kit's trail: the S3 calls themselves. They show the shared role
    # and the role session name, which leads back to the event above.
    reads = []
    pages = logs.get_paginator("filter_log_events").paginate(
        logGroupName=cfg["trail_log_group"],
        startTime=int(start.timestamp() * 1000),
        filterPattern=f'{{ ($.eventName = "GetObject") && ($.requestParameters.bucketName = "{cfg["data_bucket"]}") }}',
    )
    role_name = cfg["execution_role_arn"].split("/")[-1]
    for page in pages:
        for item in page["events"]:
            event = json.loads(item["message"])
            user = event.get("userIdentity", {})
            if event["requestParameters"].get("key") != cfg["demo_key"] or f"/{role_name}/" not in user.get("arn", ""):
                continue
            # The log event timestamp is the delivery time, so an older call can arrive inside the window.
            if datetime.datetime.fromisoformat(event["eventTime"].replace("Z", "+00:00")) < start:
                continue
            role_session = user["arn"].split("/")[-1]
            reads.append({
                "time": event["eventTime"],
                "outcome": event.get("errorCode", "allowed"),
                "roleSessionName": role_session,
                "agent": (by_session.get(role_session) or {}).get("agent"),
            })
    return sorted(sessions, key=lambda s: s["time"]), sorted(reads, key=lambda r: r["time"])


def missing_evidence(sessions, reads):
    missing = [f"GetIAMWorkloadIdentityCredentials event for {a}" for a in AGENTS if a not in {s["agent"] for s in sessions}]
    for agent in AGENTS:
        outcome = "allowed" if agent == ALLOWED_AGENT else "AccessDenied"
        if not any(r["agent"] == agent and r["outcome"] == outcome for r in reads):
            missing.append(f"GetObject data event for {agent} ({outcome})")
    return missing


def evidence(since, wait):
    cfg = config()
    start = datetime.datetime.fromisoformat(since.replace("Z", "+00:00")) - datetime.timedelta(seconds=60)
    deadline = time.time() + wait
    while True:
        sessions, reads = collect_evidence(cfg, start)
        missing = missing_evidence(sessions, reads)
        if not missing or time.time() >= deadline:
            break
        progress(f"CloudTrail has not delivered everything yet ({len(missing)} missing), "
                 f"checking again for up to {int(deadline - time.time())}s")
        time.sleep(30)

    say("Identity issued (GetIAMWorkloadIdentityCredentials, CloudTrail Event history). One role, one session per agent:\n")
    for s in sessions:
        say(f"  {s['time']}  {s['agent']}")
        say(f"    runtime       {s['runtime']}")
        say(f"    provider      {s['provider']}")
        say(f"    role session  {s['roleSessionName']}")
    if not sessions:
        say("  (none yet)")

    say(f"\nS3 GetObject on s3://{cfg['data_bucket']}/{cfg['demo_key']} (data events, kit trail):\n")
    for r in reads:
        say(f"  {r['time']}  {r['outcome']:<13} role session {r['roleSessionName']}  ->  {r['agent'] or 'not attributed yet'}")
    if not reads:
        say("  (none yet)")

    DEMO.mkdir(parents=True, exist_ok=True)
    (DEMO / "evidence.json").write_text(
        json.dumps({"complete": not missing, "missing": missing, "sessions": sessions, "reads": reads}, indent=2)
    )
    if missing:
        say("\nNot in CloudTrail yet:")
        for m in missing:
            say(f"  - {m}")
        say("CloudTrail usually delivers within about 5 minutes and can take 15. "
            "Run make demo again, or raise EVIDENCE_WAIT.")
        sys.exit(1)
    say("\nSame role, same request. CloudTrail shows which agent was allowed and which was denied.")


# ---------------------------------------------------------------------------
# destroy and leftovers
# ---------------------------------------------------------------------------

def runtime_log_groups():
    logs = session.client("logs")
    names = []
    for agent in AGENTS:
        # Runtime names cannot contain hyphens, so "<name>-" matches only that name.
        pages = logs.get_paginator("describe_log_groups").paginate(
            logGroupNamePrefix=f"/aws/bedrock-agentcore/runtimes/{agent}-"
        )
        names += [g["logGroupName"] for page in pages for g in page["logGroups"]]
    return names


def runtime_network_interfaces():
    pages = session.client("ec2").get_paginator("describe_network_interfaces").paginate(
        Filters=[{"Name": "group-name", "Values": [f"{PROJECT}-runtime"]}]
    )
    return [eni["NetworkInterfaceId"] for page in pages for eni in page["NetworkInterfaces"]]


def destroy():
    say("== AgentCore runtimes")
    deleting = []
    for name in AGENTS:
        rt = find_runtime(name)
        if not rt:
            say(f"{name}: not found")
            continue
        if rt["status"] != "DELETING":
            control.delete_agent_runtime(agentRuntimeId=rt["agentRuntimeId"])
        say(f"{name}: deleting ({rt['agentRuntimeId']})")
        deleting.append(rt["agentRuntimeId"])
    deadline = time.time() + 20 * 60
    while deleting:
        for runtime_id in list(deleting):
            try:
                control.get_agent_runtime(agentRuntimeId=runtime_id)
            except ClientError as e:
                if not is_missing(e):
                    raise
                deleting.remove(runtime_id)
        if deleting:
            if time.time() > deadline:
                sys.exit(f"Timed out waiting for {', '.join(deleting)} to be deleted.")
            progress(f"waiting for {', '.join(deleting)} to be deleted")
            time.sleep(15)

    say("\n== Workload identity template and provider")
    try:
        iam.delete_workload_identity_template(WorkloadIdentityTemplateArn=template_arn())
        say("template: deleted")
    except ClientError as e:
        if not is_missing(e):
            raise
        say("template: not found")
    try:
        task = iam.delete_workload_identity_provider(WorkloadIdentityProviderArn=provider_arn()).get("DeletionTaskId")
        deadline = time.time() + 10 * 60
        status = "IN_PROGRESS"
        while task and status not in ("SUCCEEDED", "FAILED") and time.time() < deadline:
            status = iam.get_workload_identity_provider_deletion_status(DeletionTaskId=task)["Status"]
            if status not in ("SUCCEEDED", "FAILED"):
                progress(f"provider deletion {status}")
                time.sleep(10)
        say(f"provider: deletion {status}")
        if status != "SUCCEEDED":
            sys.exit("Provider deletion did not complete: run make destroy again.")
    except ClientError as e:
        if not is_missing(e):
            raise
        say("provider: not found")

    say("\n== Runtime log groups")
    logs = session.client("logs")
    for name in runtime_log_groups():
        logs.delete_log_group(logGroupName=name)
        say(f"deleted {name}")

    # AgentCore releases the network interfaces it created in the VPC some time
    # after the runtimes are gone. Terraform cannot delete the subnets and
    # security group before then.
    say("\n== Runtime network interfaces")
    deadline = time.time() + int(os.environ.get("ENI_WAIT", "900"))
    while (enis := runtime_network_interfaces()) and time.time() < deadline:
        progress(f"{len(enis)} network interface(s) still held by AgentCore")
        time.sleep(30)
    if enis:
        say(f"{len(enis)} network interface(s) still in the VPC. AgentCore can keep them for up to 8 hours.")
        say("Terraform will fail on the subnets and security group until they are gone: run make destroy again later.")
    else:
        say("none")


def leftovers():
    found = []
    for name in AGENTS:
        rt = find_runtime(name)
        if rt:
            found.append(f"runtime {rt['agentRuntimeId']} ({rt['status']})")
    for label, call in [
        ("workload identity template", lambda: iam.get_workload_identity_template(WorkloadIdentityTemplateArn=template_arn())),
        ("workload identity provider", lambda: iam.get_workload_identity_provider(WorkloadIdentityProviderArn=provider_arn())),
    ]:
        try:
            found.append(f"{label} {call()['Arn']}")
        except ClientError as e:
            if not is_missing(e):
                raise
    found += [f"log group {name}" for name in runtime_log_groups()]
    found += [f"network interface {eni} (AgentCore releases these within 8 hours)" for eni in runtime_network_interfaces()]
    say("-- runtimes, workload identity, runtime log groups, runtime network interfaces:")
    for item in found:
        say(f"   {item}")


def main():
    parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
    sub = parser.add_subparsers(dest="command", required=True)
    for name in ("package", "deploy", "policy", "destroy", "leftovers"):
        sub.add_parser(name)
    sub.add_parser("invoke").add_argument("agent", choices=AGENTS)
    ev = sub.add_parser("evidence")
    ev.add_argument("--since", required=True, help="ISO 8601 UTC time the demo started")
    ev.add_argument("--wait", type=int, default=0, help="seconds to keep checking for CloudTrail delivery")
    args = parser.parse_args()

    if args.command == "invoke":
        invoke(args.agent)
    elif args.command == "evidence":
        evidence(args.since, args.wait)
    else:
        globals()[args.command]()


if __name__ == "__main__":
    main()
poc/demo.sh

Download

#!/usr/bin/env bash
# The scripted demo: show the rule, invoke both agents with the same request,
# then show in CloudTrail which agent was which. Each step's output is kept in
# build/demo/ for verify.sh and screenshots.sh.
#   EVIDENCE_WAIT  seconds to wait for CloudTrail delivery (default 900, 0 to skip waiting)
set -euo pipefail
cd "$(dirname "$0")/.."
PY=.venv/bin/python
OUT=build/demo
rm -rf "$OUT"; mkdir -p "$OUT"
since=$(date -u +%Y-%m-%dT%H:%M:%SZ)

step() { # step <file> <title> <agentctl args...>
  local file="$1" title="$2"; shift 2
  { echo "== $title"; echo; "$PY" poc/agentctl.py "$@"; } | tee "$OUT/$file.txt"
  echo
}

step 01-bucket-policy "1. The rule: one bucket policy, written against the agent's identity" policy
step 02-agentA "2. agentA is asked to read the object" invoke agentA
step 03-agentB "3. agentB gets the same request, with the same role" invoke agentB
step 04-cloudtrail "4. CloudTrail: which agent was which" evidence --since "$since" --wait "${EVIDENCE_WAIT:-900}"
poc/quickstart.py

Download

#!/usr/bin/env python3
"""AWS IAM for agents: two agents share one IAM role; S3 and CloudTrail still tell them apart.

Runs against the deployed POC (make deploy in this kit creates the workload identity
provider and template, the two AgentCore runtimes agentA and agentB, the bucket and its
policy, and a trail for S3 data events).

Needs: boto3 1.44.17 or later. Tested with 1.44.17: pip install boto3==1.44.17
       (that exact release: https://pypi.org/project/boto3/1.44.17/). Older releases do not
       have the workload identity operations.
       AWS credentials for the account that holds the POC.
       To call the new IAM operations from the AWS CLI instead (for example
       aws iam create-workload-identity-provider) you need AWS CLI 2.43.1 or later, the first
       release whose changelog lists them. Installers for that exact version:
         macOS    https://awscli.amazonaws.com/AWSCLIV2-2.43.1.pkg
         Linux    https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.43.1.zip
         Windows  https://awscli.amazonaws.com/AWSCLIV2-2.43.1.msi
       AWS CLI 2.37.0 was checked and does not have them. This script does not use the CLI.

Run:   python3 quickstart.py
"""
import datetime
import json
import re
import sys
import time
import uuid

import boto3

TESTED_BOTO3 = "1.44.17"  # https://pypi.org/project/boto3/1.44.17/
if tuple(int(part) for part in boto3.__version__.split(".")[:3]) < (1, 44, 17):
    print(f"warning: boto3 {boto3.__version__} is older than the tested {TESTED_BOTO3}; "
          f"if a call is rejected, run: pip install boto3=={TESTED_BOTO3}", file=sys.stderr)

REGION = "us-east-1"
TRAIL_LOG_GROUP = "/field-kit-aws-iam-for-agents/cloudtrail"
mask = lambda text: re.sub(r"\b\d{12}\b", "<account>", str(text))  # keeps output safe to share

control = boto3.client("bedrock-agentcore-control", region_name=REGION)
runtime = boto3.client("bedrock-agentcore", region_name=REGION)
cloudtrail = boto3.client("cloudtrail", region_name=REGION)
logs = boto3.client("logs", region_name=REGION)

runtimes = {r["agentRuntimeName"]: r["agentRuntimeArn"] for r in control.list_agent_runtimes()["agentRuntimes"]}
started = datetime.datetime.now(datetime.timezone.utc)

# 1. Same request to both agents. They run the same code with the same execution role.
for name in ("agentA", "agentB"):
    response = runtime.invoke_agent_runtime(
        agentRuntimeArn=runtimes[name],
        runtimeSessionId=str(uuid.uuid4()),
        payload=json.dumps({"prompt": "read the object"}).encode(),
    )
    body = response["response"].read().decode()
    if "text/event-stream" in response.get("contentType", ""):
        body = "\n".join(line[6:] for line in body.splitlines() if line.startswith("data: "))
    result = json.loads(body)
    result = json.loads(result) if isinstance(result, str) else result
    outcome = f"ALLOWED: {result['content']}" if result["result"] == "allowed" else f"DENIED ({result['error']})"
    print(f"{name}  GetObject {result['object']}  ->  {outcome}")

# 2. CloudTrail: which runtime was given which role session (management events, Event history).
print("\nWaiting for CloudTrail (usually 2 to 5 minutes)...")
sessions = {}
deadline = time.time() + 900
while len(sessions) < 2 and time.time() < deadline:
    time.sleep(30)
    events = cloudtrail.lookup_events(
        LookupAttributes=[{"AttributeKey": "EventName", "AttributeValue": "GetIAMWorkloadIdentityCredentials"}],
        StartTime=started - datetime.timedelta(seconds=60),
    )["Events"]
    for item in events:
        event = json.loads(item["CloudTrailEvent"])
        agent = next(r["ARN"] for r in event["resources"] if r["type"] == "AWS::BedrockAgentCore::Runtime")
        sessions[event["requestParameters"]["roleSessionName"]] = agent

print("\nIdentity issued (GetIAMWorkloadIdentityCredentials):")
for role_session, agent in sessions.items():
    print(f"  role session {role_session}  ->  {mask(agent)}")

# 3. The S3 calls themselves (data events from the kit's trail), joined on the role session name.
print("\nS3 GetObject data events:")
reads = []
while len(reads) < 2 and time.time() < deadline:
    reads = [
        json.loads(e["message"])
        for e in logs.filter_log_events(
            logGroupName=TRAIL_LOG_GROUP,
            startTime=int((started.timestamp() - 60) * 1000),
            filterPattern='{ $.eventName = "GetObject" }',
        )["events"]
    ]
    reads = [e for e in reads if e["userIdentity"]["arn"].split("/")[-1] in sessions]
    if len(reads) < 2:
        time.sleep(30)
for event in reads:
    role_session = event["userIdentity"]["arn"].split("/")[-1]
    agent = sessions[role_session].split("/")[-1]
    print(f"  {event['eventTime']}  {event.get('errorCode', 'allowed'):<13} {role_session}  ->  {agent}")
poc/requirements.txt

Download

boto3>=1.44.17
poc/screenshots.sh

Download

#!/usr/bin/env bash
# Capture docs/screenshots/*.png from the running POC with shared/screenshot.sh.
# This kit has no web UI: each demo step's terminal output (build/demo/*.txt,
# written by demo.sh) is rendered as a dark monospace page and captured.
set -euo pipefail
cd "$(dirname "$0")/.."
ROOT="$(cd ../.. && pwd)"
OUT=build/demo
ls "$OUT"/*.txt >/dev/null 2>&1 || poc/demo.sh

for txt in "$OUT"/*.txt; do
  name=$(basename "$txt" .txt)
  python3 - "$txt" "$OUT/$name.html" <<'PY'
import html, sys
text = open(sys.argv[1]).read().rstrip()
open(sys.argv[2], "w").write(
    "<!doctype html><meta charset=utf-8><style>"
    "body{margin:0;background:#0d1117;color:#e6edf3;font:15px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}"
    "pre{margin:0;padding:28px 32px;white-space:pre-wrap;word-break:break-all}"
    "</style><pre>" + html.escape(text) + "</pre>"
)
PY
  # 1440 px wide fits about 150 characters; longer lines wrap. Leave room for that.
  lines=$(awk '{ n += 1 + int(length($0) / 150) } END { print n }' "$txt")
  "$ROOT/shared/screenshot.sh" "file://$PWD/$OUT/$name.html" "docs/screenshots/$name.png" 1440 $((lines * 23 + 70))
done
poc/terraform/.terraform.lock.hcl

Download

# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.

provider "registry.terraform.io/hashicorp/aws" {
  version     = "6.74.0"
  constraints = "~> 6.73"
  hashes = [
    "h1:GGkXKbt7+sXkQXj3O1PUmnYW+/9N94EXSLcN1DqD/Uk=",
    "zh:0195ddb9287fe55c791d473cb8f9d4a14652d3f355790ad8ad52d76636b21b3d",
    "zh:03b01f71035a843b1e7c9b487be345a9b13cf2bd48d859ba0eb33690158b6ad5",
    "zh:07c300df46cbca514b1c77874cf1cd4c80ca661815c02b329dfd68e75d51db27",
    "zh:20f6f985d5079a0609b48c56470c93b60f9123664d1a97529e23f44835000186",
    "zh:2b273ebf95109a57a4fa07da7f4c1dba745d11cab1fcbf8c75167350f02865c6",
    "zh:2ede1946c7da024987f949000b07c274f81b387f994ab694f788721f338dd345",
    "zh:3ebc9ff8f1c5cea279869b842ae13cbe080d6366cfc2c16b87770f2be0819bc9",
    "zh:42d9fab178882caee2a2e17845c4a77220fd0a6e71abb592a160eb29d3b05da4",
    "zh:4a7a88e2f77b2c762fc197099c9bbd1982b73cd2d3f4bcbd3f433369ab696654",
    "zh:54adb2bb17ac83894464f534662277f8e3a8fd48580ef91ae163fef24f3aae61",
    "zh:60a43dc21cee60a345e5e5b96548c0dfe96412c48f98e881626ad93ba13355be",
    "zh:97b47a55644fc2ca4f53d0e277f6d8d3a3bb7279734185740580aba7de28ff29",
    "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425",
    "zh:9e58ab011c415054a5db9dbdc7b0a92a1761237f004307aaff840f6a814864c5",
    "zh:bfe27226aee65ce297c290ff9baf1dcb0fff5d41a28a5dcdd6f4a63b8404ac7e",
    "zh:f178adb7610193afe4aaba76ec058a0a72b04b0ccc9b1a7a420e69f7bc6a19aa",
  ]
}
poc/terraform/audit.tf

Download

# ---------------------------------------------------------------------------
# Evidence: a trail that records reads and writes of the demo bucket's objects.
# S3 GetObject is a data event, so it never appears in CloudTrail Event history.
# The AssumeRole events that carry the agent identity are management events
# and are read from Event history, which needs no trail.
# ---------------------------------------------------------------------------

resource "aws_kms_key" "this" {
  description             = "${local.name}: CloudTrail log files and CloudWatch log groups"
  enable_key_rotation     = true
  deletion_window_in_days = 7
}

resource "aws_kms_alias" "this" {
  name          = "alias/${local.name}"
  target_key_id = aws_kms_key.this.key_id
}

resource "aws_kms_key_policy" "this" {
  key_id = aws_kms_key.this.id

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = [
      {
        # The default key policy statement: it hands access control for the
        # key to IAM policies in this account.
        Sid       = "AccountAdministration"
        Effect    = "Allow"
        Principal = { AWS = "arn:aws:iam::${local.account_id}:root" }
        Action    = "kms:*"
        Resource  = "*"
      },
      {
        Sid       = "CloudTrailEncrypt"
        Effect    = "Allow"
        Principal = { Service = "cloudtrail.amazonaws.com" }
        Action    = "kms:GenerateDataKey*"
        Resource  = "*"
        Condition = {
          StringEquals = { "aws:SourceArn" = local.trail_arn }
          StringLike   = { "kms:EncryptionContext:aws:cloudtrail:arn" = "arn:aws:cloudtrail:*:${local.account_id}:trail/*" }
        }
      },
      {
        Sid       = "CloudTrailDescribe"
        Effect    = "Allow"
        Principal = { Service = "cloudtrail.amazonaws.com" }
        Action    = "kms:DescribeKey"
        Resource  = "*"
        Condition = {
          StringEquals = { "aws:SourceArn" = local.trail_arn }
        }
      },
      {
        Sid       = "CloudWatchLogs"
        Effect    = "Allow"
        Principal = { Service = "logs.${var.region}.amazonaws.com" }
        Action    = ["kms:Encrypt", "kms:Decrypt", "kms:ReEncrypt*", "kms:GenerateDataKey*", "kms:DescribeKey"]
        Resource  = "*"
        Condition = {
          ArnLike = { "kms:EncryptionContext:aws:logs:arn" = "arn:aws:logs:${var.region}:${local.account_id}:log-group:/${local.name}/*" }
        }
      },
    ]
  })
}

resource "aws_cloudwatch_log_group" "trail" {
  name              = "/${local.name}/cloudtrail"
  retention_in_days = 14
  kms_key_id        = aws_kms_key.this.arn

  depends_on = [aws_kms_key_policy.this]
}

resource "aws_iam_role" "trail" {
  name = "${local.name}-cloudtrail"

  assume_role_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect    = "Allow"
      Principal = { Service = "cloudtrail.amazonaws.com" }
      Action    = "sts:AssumeRole"
      Condition = {
        StringEquals = { "aws:SourceArn" = local.trail_arn }
      }
    }]
  })
}

resource "aws_iam_role_policy" "trail" {
  name = "write-trail-log-group"
  role = aws_iam_role.trail.id

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect   = "Allow"
      Action   = ["logs:CreateLogStream", "logs:PutLogEvents"]
      Resource = ["${aws_cloudwatch_log_group.trail.arn}:log-stream:*"]
    }]
  })
}

resource "aws_cloudtrail" "this" {
  name                          = local.name
  s3_bucket_name                = aws_s3_bucket.this["trail"].id
  kms_key_id                    = aws_kms_key.this.arn
  enable_log_file_validation    = true
  is_multi_region_trail         = false
  include_global_service_events = false
  cloud_watch_logs_group_arn    = "${aws_cloudwatch_log_group.trail.arn}:*"
  cloud_watch_logs_role_arn     = aws_iam_role.trail.arn

  # Data events for the demo bucket only. Management events stay with the
  # account's own trail, so nothing is recorded (or billed) twice.
  advanced_event_selector {
    name = "Demo bucket objects"

    field_selector {
      field  = "eventCategory"
      equals = ["Data"]
    }

    field_selector {
      field  = "resources.type"
      equals = ["AWS::S3::Object"]
    }

    field_selector {
      field       = "resources.ARN"
      starts_with = ["${aws_s3_bucket.this["data"].arn}/"]
    }
  }

  depends_on = [
    aws_s3_bucket_policy.this,
    aws_iam_role_policy.trail,
    aws_kms_key_policy.this,
  ]
}
poc/terraform/locals.tf

Download

locals {
  name = var.project_name

  tags = {
    Project     = var.project_name
    Environment = var.environment
    Owner       = var.owner
    CostCenter  = var.cost_center
    ManagedBy   = "terraform"
    Repository  = var.repository
  }

  account_id = data.aws_caller_identity.current.account_id

  # Two runtimes share one execution role. Only allowed_agent may read the demo object.
  agent_names   = ["agentA", "agentB"]
  allowed_agent = "agentA"
  demo_key      = "report.txt"

  # poc/agentctl.py creates the provider and template with these names, so their
  # ARNs and the identifier format are known before the runtimes exist.
  wi_trust_domain = coalesce(var.trust_domain, "${local.account_id}.aws.internal")
  wi_provider_arn = "arn:aws:iam::${local.account_id}:workload-identity-provider/${local.name}"

  # A runtime ID is the runtime name, a hyphen and a random suffix, and runtime
  # names cannot contain hyphens, so this matches only runtimes named allowed_agent.
  allowed_subject = "spiffe://${local.wi_trust_domain}/${var.region}/bedrock-agentcore/runtime/${local.allowed_agent}/${local.allowed_agent}-*"

  trail_arn = "arn:aws:cloudtrail:${var.region}:${local.account_id}:trail/${local.name}"
}
poc/terraform/main.tf

Download

data "aws_caller_identity" "current" {}

# ---------------------------------------------------------------------------
# Buckets: data (the demo object), code (the agent .zip), trail (CloudTrail)
# ---------------------------------------------------------------------------

resource "aws_s3_bucket" "this" {
  for_each = toset(["data", "code", "trail"])

  bucket_prefix = "${local.name}-${each.key}-"
  force_destroy = true
}

resource "aws_s3_bucket_public_access_block" "this" {
  for_each = aws_s3_bucket.this

  bucket                  = each.value.id
  block_public_acls       = true
  block_public_policy     = true
  ignore_public_acls      = true
  restrict_public_buckets = true
}

resource "aws_s3_bucket_versioning" "this" {
  for_each = aws_s3_bucket.this

  bucket = each.value.id

  versioning_configuration {
    status = "Enabled"
  }
}

# SSE-S3 rather than a KMS key, so that an AccessDenied in the demo can only
# come from the bucket policy and never from a key policy.
resource "aws_s3_bucket_server_side_encryption_configuration" "this" {
  for_each = aws_s3_bucket.this

  bucket = each.value.id

  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm = "AES256"
    }
  }
}

resource "aws_s3_bucket_lifecycle_configuration" "this" {
  for_each = aws_s3_bucket.this

  bucket = each.value.id

  rule {
    id     = "housekeeping"
    status = "Enabled"

    filter {}

    abort_incomplete_multipart_upload {
      days_after_initiation = 1
    }

    noncurrent_version_expiration {
      noncurrent_days = 7
    }
  }

  depends_on = [aws_s3_bucket_versioning.this]
}

locals {
  bucket_statements = {
    # The three statements from the AgentCore Runtime guide: allow the execution
    # role when the call carries allowed_agent's identity from this provider,
    # and deny the role otherwise. The Deny statements are what stop the other
    # agent and the role's plain credentials, because the role's own policy
    # already grants s3:GetObject.
    data = [
      {
        Sid       = "AllowAgentA"
        Effect    = "Allow"
        Principal = { AWS = aws_iam_role.runtime.arn }
        Action    = "s3:GetObject"
        Resource  = "${aws_s3_bucket.this["data"].arn}/*"
        Condition = {
          StringLike   = { "aws:OriginIdentity/Subject" = local.allowed_subject }
          StringEquals = { "aws:OriginIdentity/Issuer" = local.wi_provider_arn }
        }
      },
      {
        Sid       = "DenyRoleWithoutAgentA"
        Effect    = "Deny"
        Principal = { AWS = aws_iam_role.runtime.arn }
        Action    = "s3:GetObject"
        Resource  = "${aws_s3_bucket.this["data"].arn}/*"
        Condition = {
          StringNotLike = { "aws:OriginIdentity/Subject" = local.allowed_subject }
        }
      },
      {
        Sid       = "DenyRoleWithOtherProvider"
        Effect    = "Deny"
        Principal = { AWS = aws_iam_role.runtime.arn }
        Action    = "s3:GetObject"
        Resource  = "${aws_s3_bucket.this["data"].arn}/*"
        Condition = {
          StringNotEquals = { "aws:OriginIdentity/Issuer" = local.wi_provider_arn }
        }
      },
    ]

    code = []

    trail = [
      {
        Sid       = "CloudTrailAclCheck"
        Effect    = "Allow"
        Principal = { Service = "cloudtrail.amazonaws.com" }
        Action    = "s3:GetBucketAcl"
        Resource  = aws_s3_bucket.this["trail"].arn
        Condition = {
          StringEquals = { "aws:SourceArn" = local.trail_arn }
        }
      },
      {
        Sid       = "CloudTrailWrite"
        Effect    = "Allow"
        Principal = { Service = "cloudtrail.amazonaws.com" }
        Action    = "s3:PutObject"
        Resource  = "${aws_s3_bucket.this["trail"].arn}/AWSLogs/${local.account_id}/*"
        Condition = {
          StringEquals = {
            "aws:SourceArn" = local.trail_arn
            "s3:x-amz-acl"  = "bucket-owner-full-control"
          }
        }
      },
    ]
  }
}

resource "aws_s3_bucket_policy" "this" {
  for_each = aws_s3_bucket.this

  bucket = each.value.id

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = concat(local.bucket_statements[each.key], [
      {
        Sid       = "DenyInsecureTransport"
        Effect    = "Deny"
        Principal = "*"
        Action    = "s3:*"
        Resource  = [each.value.arn, "${each.value.arn}/*"]
        Condition = {
          Bool = { "aws:SecureTransport" = "false" }
        }
      },
    ])
  })

  depends_on = [aws_s3_bucket_public_access_block.this]
}

resource "aws_s3_object" "report" {
  bucket       = aws_s3_bucket.this["data"].id
  key          = local.demo_key
  content      = "Q4 forecast, confidential: only ${local.allowed_agent} may read this.\n"
  content_type = "text/plain"
}

# ---------------------------------------------------------------------------
# Execution role shared by both runtimes
# ---------------------------------------------------------------------------

resource "aws_iam_role" "runtime" {
  name = "${local.name}-runtime"

  # The trust policy from the AgentCore Runtime guide. Agent and workload
  # identity needs no change to it.
  assume_role_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Sid       = "AssumeRolePolicy"
      Effect    = "Allow"
      Principal = { Service = "bedrock-agentcore.amazonaws.com" }
      Action    = "sts:AssumeRole"
      Condition = {
        StringEquals = { "aws:SourceAccount" = local.account_id }
        ArnLike      = { "aws:SourceArn" = "arn:aws:bedrock-agentcore:${var.region}:${local.account_id}:*" }
      }
    }]
  })
}

resource "aws_iam_role_policy" "runtime" {
  name = "runtime"
  role = aws_iam_role.runtime.id

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = [
      {
        # Both agents get the same grant. Only the bucket policy tells them apart.
        Sid      = "ReadDemoObject"
        Effect   = "Allow"
        Action   = "s3:GetObject"
        Resource = "${aws_s3_bucket.this["data"].arn}/*"
      },
      {
        Sid      = "ReadDeploymentPackage"
        Effect   = "Allow"
        Action   = "s3:GetObject"
        Resource = "${aws_s3_bucket.this["code"].arn}/*"
      },
      {
        Sid      = "RuntimeLogGroups"
        Effect   = "Allow"
        Action   = ["logs:DescribeLogStreams", "logs:CreateLogGroup"]
        Resource = "arn:aws:logs:${var.region}:${local.account_id}:log-group:/aws/bedrock-agentcore/runtimes/*"
      },
      {
        Sid      = "RuntimeLogResourcePolicy"
        Effect   = "Allow"
        Action   = "logs:PutResourcePolicy"
        Resource = [for a in local.agent_names : "arn:aws:logs:${var.region}:${local.account_id}:log-group:/aws/bedrock-agentcore/runtimes/${a}-*"]
      },
      {
        Sid      = "DescribeLogGroups"
        Effect   = "Allow"
        Action   = "logs:DescribeLogGroups"
        Resource = "arn:aws:logs:${var.region}:${local.account_id}:log-group:*"
      },
      {
        Sid      = "RuntimeLogStreams"
        Effect   = "Allow"
        Action   = ["logs:CreateLogStream", "logs:PutLogEvents"]
        Resource = "arn:aws:logs:${var.region}:${local.account_id}:log-group:/aws/bedrock-agentcore/runtimes/*:log-stream:*"
      },
    ]
  })
}
poc/terraform/network.tf

Download

# ---------------------------------------------------------------------------
# Private network for the runtimes: no internet gateway, no NAT gateway.
# The agents reach AWS only through the VPC endpoints below.
# ---------------------------------------------------------------------------

resource "aws_vpc" "this" {
  cidr_block           = "10.42.0.0/24"
  enable_dns_support   = true
  enable_dns_hostnames = true

  tags = { Name = local.name }
}

resource "aws_subnet" "private" {
  count = length(var.az_ids)

  vpc_id               = aws_vpc.this.id
  availability_zone_id = var.az_ids[count.index]
  cidr_block           = cidrsubnet(aws_vpc.this.cidr_block, 2, count.index)

  tags = { Name = "${local.name}-private-${var.az_ids[count.index]}" }
}

resource "aws_route_table" "private" {
  vpc_id = aws_vpc.this.id

  tags = { Name = "${local.name}-private" }
}

resource "aws_route_table_association" "private" {
  count = length(aws_subnet.private)

  subnet_id      = aws_subnet.private[count.index].id
  route_table_id = aws_route_table.private.id
}

# The default security group allows nothing.
resource "aws_default_security_group" "this" {
  vpc_id = aws_vpc.this.id
}

resource "aws_security_group" "runtime" {
  name        = "${local.name}-runtime"
  description = "AgentCore Runtime network interfaces"
  vpc_id      = aws_vpc.this.id

  tags = { Name = "${local.name}-runtime" }
}

resource "aws_security_group" "endpoints" {
  name        = "${local.name}-endpoints"
  description = "Interface VPC endpoints"
  vpc_id      = aws_vpc.this.id

  tags = { Name = "${local.name}-endpoints" }
}

resource "aws_vpc_security_group_egress_rule" "runtime_to_endpoints" {
  security_group_id            = aws_security_group.runtime.id
  description                  = "HTTPS to the interface endpoints"
  ip_protocol                  = "tcp"
  from_port                    = 443
  to_port                      = 443
  referenced_security_group_id = aws_security_group.endpoints.id
}

resource "aws_vpc_security_group_egress_rule" "runtime_to_s3" {
  security_group_id = aws_security_group.runtime.id
  description       = "HTTPS to Amazon S3 through the gateway endpoint"
  ip_protocol       = "tcp"
  from_port         = 443
  to_port           = 443
  prefix_list_id    = aws_vpc_endpoint.s3.prefix_list_id
}

resource "aws_vpc_security_group_ingress_rule" "endpoints_from_runtime" {
  security_group_id            = aws_security_group.endpoints.id
  description                  = "HTTPS from the runtimes"
  ip_protocol                  = "tcp"
  from_port                    = 443
  to_port                      = 443
  referenced_security_group_id = aws_security_group.runtime.id
}

resource "aws_vpc_endpoint" "s3" {
  vpc_id            = aws_vpc.this.id
  service_name      = "com.amazonaws.${var.region}.s3"
  vpc_endpoint_type = "Gateway"
  route_table_ids   = [aws_route_table.private.id]

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = [
      {
        # Reaching the bucket is not the same as being allowed to read it:
        # the bucket policy still decides which agent gets the object.
        Sid       = "DemoObject"
        Effect    = "Allow"
        Principal = "*"
        Action    = "s3:GetObject"
        Resource  = "${aws_s3_bucket.this["data"].arn}/*"
      },
      {
        # The service-owned buckets AgentCore Runtime keeps direct code
        # deployment packages in.
        Sid       = "AgentCoreCodeArtifacts"
        Effect    = "Allow"
        Principal = "*"
        Action    = "s3:GetObject"
        Resource = [
          "arn:aws:s3:::acr-code-*-${var.region}-an",
          "arn:aws:s3:::acr-code-*-${var.region}-an/*",
        ]
        Condition = {
          StringEquals = { "aws:PrincipalServiceName" = "bedrock-agentcore.amazonaws.com" }
        }
      },
    ]
  })

  tags = { Name = "${local.name}-s3" }
}

# One Availability Zone is enough for a demo and halves the hourly charge.
# Both subnets resolve the endpoints through private DNS.
resource "aws_vpc_endpoint" "interface" {
  for_each = toset(var.interface_endpoint_services)

  vpc_id              = aws_vpc.this.id
  service_name        = "com.amazonaws.${var.region}.${each.key}"
  vpc_endpoint_type   = "Interface"
  subnet_ids          = [aws_subnet.private[0].id]
  security_group_ids  = [aws_security_group.endpoints.id]
  private_dns_enabled = true

  tags = { Name = "${local.name}-${each.key}" }
}

resource "aws_flow_log" "this" {
  vpc_id               = aws_vpc.this.id
  traffic_type         = "REJECT"
  log_destination_type = "cloud-watch-logs"
  log_destination      = aws_cloudwatch_log_group.flow.arn
  iam_role_arn         = aws_iam_role.flow.arn
}

resource "aws_cloudwatch_log_group" "flow" {
  name              = "/${local.name}/vpc-flow"
  retention_in_days = 14
  kms_key_id        = aws_kms_key.this.arn

  depends_on = [aws_kms_key_policy.this]
}

resource "aws_iam_role" "flow" {
  name = "${local.name}-flow-logs"

  assume_role_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect    = "Allow"
      Principal = { Service = "vpc-flow-logs.amazonaws.com" }
      Action    = "sts:AssumeRole"
      Condition = {
        StringEquals = { "aws:SourceAccount" = local.account_id }
        ArnLike      = { "aws:SourceArn" = "arn:aws:ec2:${var.region}:${local.account_id}:vpc-flow-log/*" }
      }
    }]
  })
}

resource "aws_iam_role_policy" "flow" {
  name = "write-flow-logs"
  role = aws_iam_role.flow.id

  policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect   = "Allow"
      Action   = ["logs:CreateLogStream", "logs:PutLogEvents", "logs:DescribeLogStreams"]
      Resource = ["${aws_cloudwatch_log_group.flow.arn}:*"]
    }]
  })
}
poc/terraform/outputs.tf

Download

output "data_bucket" {
  description = "Bucket that holds the demo object."
  value       = aws_s3_bucket.this["data"].id
}

output "demo_key" {
  description = "Key of the demo object."
  value       = aws_s3_object.report.key
}

output "code_bucket" {
  description = "Bucket the agent deployment package is uploaded to."
  value       = aws_s3_bucket.this["code"].id
}

output "execution_role_arn" {
  description = "Execution role shared by both runtimes."
  value       = aws_iam_role.runtime.arn
}

output "subnet_ids" {
  description = "Private subnets for the runtimes."
  value       = aws_subnet.private[*].id
}

output "security_group_id" {
  description = "Security group for the runtime network interfaces."
  value       = aws_security_group.runtime.id
}

output "trail_log_group" {
  description = "Log group that receives the demo bucket's data events."
  value       = aws_cloudwatch_log_group.trail.name
}

output "wi_trust_domain" {
  description = "Trust domain for the workload identity provider that poc/agentctl.py creates."
  value       = local.wi_trust_domain
}

output "allowed_subject" {
  description = "Identifier pattern the bucket policy allows."
  value       = local.allowed_subject
}

output "tags" {
  description = "Tags for the resources that poc/agentctl.py creates."
  value       = local.tags
}
poc/terraform/variables.tf

Download

variable "project_name" {
  description = "Project name used for resource names and the Project tag. The kit Makefile sets it to field-kit-<slug>."
  type        = string
}

variable "region" {
  description = "Region the POC deploys to."
  type        = string
  default     = "us-east-1"
}

variable "environment" {
  description = "Environment tag value."
  type        = string
  default     = "dev"
}

variable "owner" {
  description = "Owner tag value."
  type        = string
  default     = "renkenk"
}

variable "cost_center" {
  description = "CostCenter tag value for cost allocation. Required."
  type        = string

  validation {
    condition     = length(trimspace(var.cost_center)) > 0
    error_message = "cost_center must not be empty."
  }
}

variable "repository" {
  description = "Repository tag value."
  type        = string
  default     = "reinvent-field-kits"
}

variable "trust_domain" {
  description = "Trust domain of the workload identity provider. Null uses <account-id>.aws.internal, the default the docs use for an account-level provider. Must be unique among the providers in the account."
  type        = string
  default     = null
}

variable "az_ids" {
  description = "Availability Zone IDs for the runtime subnets. Must be zones AgentCore Runtime supports for VPC mode in the Region."
  type        = list(string)
  default     = ["use1-az1", "use1-az2"]
}

variable "interface_endpoint_services" {
  description = "AWS services reached through interface VPC endpoints. logs is required by AgentCore Runtime in a VPC without internet access; bedrock-agentcore is where the AgentCore SDK exchanges the identity context for credentials. Each entry is billed per hour."
  type        = list(string)
  default     = ["logs", "bedrock-agentcore"]
}
poc/terraform/versions.tf

Download

terraform {
  required_version = ">= 1.17"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 6.73"
    }
  }
}

provider "aws" {
  region = var.region

  default_tags {
    tags = local.tags
  }
}
poc/verify.sh

Download

#!/usr/bin/env bash
# End to end checks for this kit. Exit non-zero when a check fails.
# Runs the demo, then asserts on what it recorded in build/demo/.
set -euo pipefail
cd "$(dirname "$0")/.."
OUT=build/demo
fail=0
check() { # check <description> <actual> <expected>
  if [ "$2" = "$3" ]; then echo "PASS  $1"; else echo "FAIL  $1 (got '$2', expected '$3')"; fail=1; fi
}

poc/demo.sh || echo "demo.sh exited non-zero; checking what it recorded"

echo "== Checks"
check "agentA read the object" "$(jq -r .result "$OUT/agentA.json" 2>/dev/null)" allowed
check "agentB was denied by S3" "$(jq -r .error "$OUT/agentB.json" 2>/dev/null)" AccessDenied
check "CloudTrail names both agents and attributes the allowed and denied GetObject" \
  "$(jq -r .complete "$OUT/evidence.json" 2>/dev/null)" true
if [ "$(jq -r .complete "$OUT/evidence.json" 2>/dev/null)" = false ]; then
  echo "      missing: $(jq -r '.missing | join("; ")' "$OUT/evidence.json")"
  echo "      CloudTrail delivery can lag by up to 15 minutes: rerun make verify, or raise EVIDENCE_WAIT."
fi
exit $fail
sources.md

Download

Read on 2026-12-01

# Sources

## What it is

- Official name is AWS IAM for agents; this capability is agent and workload identity (preview). [Product page](https://aws.amazon.com/iam/agents/)
- Announced 2026-12-01. [What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/)
- Preview, "subject to change"; integrates with Amazon EKS, AgentCore Runtime and AgentCore Gateway. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- The identity is added to the existing role session and does not replace the role. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- Not AgentCore Identity, which reaches services outside AWS with OAuth2 tokens and API keys. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)

## Availability

- All commercial AWS Regions during the preview. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- EKS integration excludes me-south-1 and me-central-1. [EKS What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/eks-supports-iam-for-agents-preview/)
- AgentCore Runtime needs platform version V2 or the Instances compute type; Region list unverified. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- GovCloud, China, European Sovereign Cloud: not mentioned, unverified. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- Sibling preview, not covered here: AWS IAM Credential Broker, for external service credentials. [Credential Broker](https://aws.amazon.com/about-aws/whats-new/2026/11/aws-iam-credential-broker-preview/)

## How you build with it

- Policies name the agent with `aws:OriginIdentity/Subject` and `aws:OriginIdentity/Issuer`, always matched together. [Control access](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-control-access.html)
- The keys work in resource policies, identity policies, SCPs and RCPs. [Condition keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-condition-keys.html)
- Agent code must import `bedrock_agentcore` before creating any boto3 client. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- Guides disagree on whether EKS trust policies need `sts:SetContext`: unverified. [EKS guide](https://docs.aws.amazon.com/eks/latest/userguide/pod-identity-workload-identity.html)
- Verbatim policy JSON and CLI examples: [maintainer notes](poc/README.md); originals in the [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html).

## Pricing

- No additional charge during the preview. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- AWS Private CA charges apply if you issue X.509-SVIDs. [IAM guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/agent-workload-identity.html)
- JWT-SVIDs need no CA. [Create provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-create-provider.html)
- EKS integration: no additional charge. [EKS What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/eks-supports-iam-for-agents-preview/)
- Post-preview pricing is not stated; no pricing page exists. [Product page](https://aws.amazon.com/iam/agents/)

## Limits

- 50 providers per account; 5 organization-level providers per organization. [Manage providers](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-manage-providers.html)
- Identifier: 256 characters maximum; "This limit might change." [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- JWT-SVID lifetime: 60 to 3,600 seconds, default 300. [Getting started](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-getting-started.html)
- X.509-SVID lifetime: 3,600 to 43,200 seconds, default 43,200; cannot be revoked. [Getting started](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-getting-started.html)
- No template quotas or API rate limits are published. [IAM quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html)

## Preview caveats

- Identity must be enabled when the runtime or gateway is created; it cannot be added later or removed. [IAM AgentCore page](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-agentcore.html)
- The agent also holds execution role credentials without the identity, so Deny statements are required. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- Deleting a template makes every invocation of its runtimes fail. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- After creating a template, invocations can fail with AccessDeniedException for a few minutes. [AgentCore guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agent-workload-identity.html)
- The identity is dropped when assuming a role in a different organization. [Control access](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-control-access.html)

## Quotes

- Only executive statement: one sentence by Dr. Matt Wood, quoted on the Talking points page; title unverified. [AWS News Blog](https://aws.amazon.com/blogs/aws/aws-builds-for-more-ambitious-agents/)
- No customer quotes were found on the product page, What's New posts or docs. [Product page](https://aws.amazon.com/iam/agents/)
- AWS claim: "scale to millions of agents and workloads". [What's New](https://aws.amazon.com/about-aws/whats-new/2026/12/aws-iam-agent-workload-identity/)

## Observed in the POC

Observed on 2026-12-01 on AgentCore Runtime in us-east-1, not from documentation.

- Two AgentCore runtimes shared one execution role; agentA read the object.
- agentB got AccessDenied from the bucket policy condition on `aws:OriginIdentity/Subject`.
- Docs say CloudTrail records `userIdentity.onBehalfOf`. Observed: not on any event. [Logging guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/workload-identity-logging-monitoring.html)
- Working attribution: a `GetIAMWorkloadIdentityCredentials` event per runtime, joined to later calls by role session name.
- No allowlist was needed.

## Tooling

- AWS CLI 2.43.1 is the first release with the new IAM operations.
- boto3 1.44.17 was tested.
- On Amazon EKS the documented `userIdentity.onBehalfOf` field was present on AssumeRole events (observed 2026-12-02 in the EKS kit).