Safety & Security

AWS Gives AI Agents Their Own Identities With SPIFFE Preview

AWS previewed IAM agent and workload identity on December 4, 2026: SPIFFE-based short-lived attested credentials for EKS and AgentCore, with per-agent CloudTrail attribution at no extra charge.

AWS Gives AI Agents Their Own Identities With SPIFFE Preview
AI-generated
By Rebecca Stone5 min read

Why it matters

  • AWS launched IAM agent and workload identity in preview on December 4, 2026, at no additional charge in commercial Regions.
  • STS checks attestation facts before issuing SPIFFE SVIDs — JWTs up to 1 hour, X.509 certificates 1–12 hours, role sessions 15 minutes to 12 hours.
  • Supported environments: Amazon EKS, Amazon Bedrock AgentCore Runtime and AgentCore Gateway.
  • CloudTrail records the workload identifier as onBehalfOf.subject alongside the IAM role.
  • S3 Block Public Access treats a policy using aws:OriginIdentity/Subject alone as public; AWS's example matches both Subject and Issuer.

AWS put IAM agent and workload identity into preview on December 4, 2026, assigning each supported AI agent and workload a unique identity and replacing long-lived secrets with short-lived attested credentials.

The feature, announced in the AWS Security Blog, has AWS Security Token Service verify attestation facts before it issues credentials. The identity attaches to the workload itself rather than to a key a developer stores. The preview builds on the Secure Production Identity Framework for Everyone (SPIFFE) and is available at no additional charge in AWS commercial Regions.

The stakes are straightforward. AI agents increasingly act autonomously across services, and the credentials they use today are frequently static secrets that leak, expire poorly, and leave audit logs that show only a shared role. Binding identity to the workload, with attestation and short lifetimes, is the industry's established answer for infrastructure, now extended to agents.

How the identity actually works

AWS issues two credential formats. JSON Web Tokens and X.509 certificates are issued as SPIFFE Verifiable Identity Documents (SVIDs). Supported environments include Amazon Elastic Kubernetes Service (EKS), Amazon Bedrock AgentCore Runtime, and AgentCore Gateway.

For calls to AWS services, IAM places the workload identifier inside the role session. A workload authenticating to a non-AWS service presents a JWT-SVID or X.509-SVID instead. One identity therefore plays a role in both AWS access control and external authentication.

Lifetimes are deliberately short:

  • JWT-SVIDs last up to one hour.
  • X.509-SVIDs last 12 hours by default and can be configured between 1 and 12 hours.
  • The attesting service can cap a role session between 15 minutes and 12 hours.

AWS SDKs retrieve role-session credentials through the default credential provider chain, so existing SDK code does not need to change.

What controls which workloads qualify

An IAM agent and workload identity provider supplies the root of trust. Its settings include:

  • A trust domain that starts every identity name.
  • Path prefixes for allocating parts of the namespace to accounts or teams.
  • IAM-created JWT signing keys.
  • An optional AWS Private Certificate Authority, attached by customers who want X.509-SVIDs.

Workload identity templates govern identifier construction and eligibility. A path pattern can incorporate the account, Region, cluster, namespace, and service account, or an AgentCore runtime or gateway name. The attached attestation policy names the service supplying evidence and the facts it must report. EKS provides pod facts the pod itself cannot alter. AgentCore Runtime and Gateway supply facts from their control planes without additional configuration.

IAM applies a default attestation policy to new templates, and customers can tighten it — restricting identities to one cluster, to production namespaces, or to a particular AgentCore Runtime.

Why organization-level templates matter

Providers and templates can be organization-level resources, administered by the management account or an IAM delegated administrator and reflected into member accounts as read-only copies. Authorization stays within each account. The organization-level resources grant no additional permissions; they centralize control of identity construction while each account keeps its own authorization decisions.

That split addresses a governance problem for enterprises running agents across many accounts: one team can define what a valid agent identity looks like, without handing that team the keys to any account's resources.

How credentials connect access policies to audit records

The workload identifier surfaces in three places: the sub claim of a JWT, the critical URI subject alternative name of an X.509 certificate, and the role-session context.

Resource-based policies, resource control policies, and other IAM policy types can restrict access using that identifier. AWS's Amazon S3 example matches both aws:OriginIdentity/Subject and aws:OriginIdentity/Issuer, because identifiers are unique only within their provider. The issuer condition carries real consequences: S3 Block Public Access treats a policy that uses the subject alone as public.

CloudTrail records the identifier as onBehalfOf.subject alongside the IAM role. Activity within a role session can therefore be traced to a particular agent or workload — finer-grained attribution than a role alone provides, which matters when a security team reconstructs what an autonomous agent actually did.

How external services verify agent credentials

For services outside AWS, STS publishes the provider's OpenID Connect discovery document, public JWT signing keys, and SPIFFE trust bundle. An external service uses those materials to verify workload credentials without holding AWS credentials of its own.

In AWS's software-as-a-service example, an agent sends its JWT-SVID to the provider's token endpoint instead of a client secret. The provider validates the token with the published keys, checks issuer, audience, and subject against its federation policy, and returns a short-lived access token. When the token expires, the agent repeats the exchange.

The certificate workflow supports mutual TLS connections to on-premises services. A workload requests an X.509-SVID with its role session, and STS calls the AWS Private CA certificate-issuance API using that session. The role therefore needs permission to issue certificates from the CA. The on-premises service verifies the credential with the provider's trust bundle.

What the preview signals

The preview makes identity a common control point across connection types. The same identifier can determine what an agent may access, authenticate it to external services without a stored client secret, and distinguish its AWS activity in CloudTrail. That links routine authorization with precise investigation when a security team needs to reconstruct an agent's actions.

Until the feature reaches general availability, the scope of supported runtimes — EKS, AgentCore Runtime, and AgentCore Gateway — defines where agents can shed their long-lived secrets; workloads elsewhere will wait for AWS to widen attestation support.

Source: unite.ai

Share this article:

More from Rebecca Stone

Rebecca Stone

Show full bio

Correspondent covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.

1,073 articles

Related articles

  1. SailPoint Brings Real-Time Identity Controls to AWS AI Agents
  2. Akeyless Ties Agent Credentials to the Systems They Reach
  3. One Prompt Hijacked Every AI Agent in an AWS Account
  4. Kong launches Token Vault to control enterprise AI agent access
  5. AWS Continuum Gets Supply Chain, Threat Response and Agent Discovery Tools

« Previous articleNext article »