# 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/
