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
- The POC must be deployed beforehand by whoever maintains the kit, at least 30 minutes ahead.
- Run the POC script once and confirm it prints both agents and the CloudTrail attribution.
- Open the architecture diagram 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, Logging guide, AgentCore guide, read 2026-12-01.