iamops.dev Search
Argo on X RSS feed
ENEnglish

News Practitioner · 5 min

People who run AWS accounts and have to decide, before they write a policy, which agent made which call.

AWS gives AI agents and workloads their own IAM identity, in preview

AWS IAM now issues each AI agent or workload its own verifiable identity, in preview. Here is what the role decides and what CloudTrail records.

Cover card with the AWS logo and the headline: Agents get their own IAM identity.
TL;DRAmazon Web Services (AWS) says each agent or workload now gets its own…
  • Amazon Web Services (AWS) says each agent or workload now gets its own identity, built on the identity and access management (IAM) roles you already have, in preview in all commercial Regions. What AWS announced
  • AWS issues the identity only after the service running the workload proves what it is, and the short-lived credentials renew by themselves. How the identity is issued
  • The role still decides what the caller may do. The identity tells you which agent made each call. What the role still decides
  • Before you rely on a preview, check the trust setup and the deny path in a sandbox account.

AWS has put agent and workload identity into IAM, its identity and access management service, and the feature is in preview. Each AI agent, or any other non-human caller such as an application, a service or an automated workflow, gets an identity of its own. The identity appears in IAM policies and in CloudTrail, the AWS audit log. AWS says the identity sits on top of your existing roles, so the role still defines what the caller can do. The identity says who made the call.

What AWS announced#

The announcement on the AWS What’s New page covers three parts. The agent and workload identities work with Amazon Elastic Kubernetes Service, Amazon Bedrock AgentCore Runtime and Amazon Bedrock AgentCore Gateway in all commercial Regions. You name the identities yourself, in the context of your own business, and AWS says they follow the SPIFFE standard for workload identity. AWS also says one setup per account or organization is enough to scale to millions of agents and workloads.

AWS calls the whole set IAM for agents. Two related pieces came out in November. The AWS IAM Credential Broker, also in preview, gets agents credentials for external services. Enterprise-Managed Authorization for AWS Sign-In lets an agent reach the AWS MCP Server through your identity provider. The new identity is the base layer under both.

How the identity is issued#

AWS issues an identity only after the service that runs the workload has proved what it is. That is the step that matters most. A workload that receives its identity from a running service it can prove does not need a key pasted into a configuration file. Our earlier explainer on secrets and federation describes the same idea for CI jobs.

The credentials are short-lived. AWS names JWT and X.509 certificates as the formats, and says they renew automatically. The same credential works with AWS services, with your own APIs and with third-party services. If a token that works outside AWS leaks, it expires on its own, which limits the damage. Shorter lifetimes do not remove the need to watch for theft, though.

Here is the flow as AWS describes it, in the order a call happens:

Sequence: the workload starts on a service, the service proves what it is to IAM, IAM issues a short-lived identity, and the workload calls an AWS API with it. The IAM role decides, and a call the role does not allow is refused.
The refusal is the case to test first. A refused agent is still an agent with a name, and the name shows up in the log.

What the role still decides#

The identity grants nothing by itself. The IAM role attached to it still sets what the agent may do, so a call the role does not allow is refused. That is the one error in the picture, and it is the case to test first. An agent that gets refused is still an agent with a name, and that name shows up in the log.

The gain is in the log and in the policy. CloudTrail can show the agent’s identity rather than a shared role that five services use. IAM policy conditions can refer to the identity, so a rule can say which agent may call which API. If you are still choosing between role-based, attribute-based and relationship-based rules, our three access models explainer covers the choice. The vocabulary, from agent to delegation, is in the agent identity glossary.

Anything that replaces a static key deserves the same review. Our note on Okta Privileged Access covers another vendor doing the same swap for AWS roles and CI jobs, and the questions there apply here too.

What to check before a preview#

  • The preview scope. AWS lists the services that work today: Elastic Kubernetes Service and the two AgentCore pieces. Anything outside that list is not covered yet, and a preview can change before general availability.
  • The naming. The names you choose become the audit trail. Use the owner’s name or team in them, so that a log line answers who to call.
  • The deny path. Make one call that the role should refuse. Check that the refusal happens and that CloudTrail names the agent.
  • The old keys. Once the identity works, find the static keys the agent used before and remove them. A preview that runs next to a key is not a replacement.
  • The third-party side. A token that works outside AWS is only as safe as the service that accepts it. Ask that service how it checks the identity.

Where this leaves a team#

If you run agents on Elastic Kubernetes Service or AgentCore, a sandbox account is the place to try this first. Use one agent, one role and one call that should fail. If the log line names the agent you meant, you have the core of the model working before you move more access over.

Sources#

Discuss this on X or LinkedIn

Follow on X

New posts by email

One email a week with new posts and labs. Unsubscribe anytime.

Your address is stored with Kit, which sends the emails. Details

Related research and labs

Type to search every page. Use the arrow keys to move through the results.

    Open the full search page