Cybersecurity
AWS IAM Previews SPIFFE Identities for AI Agents and Workloads

Key PointsShort-lived attested credentials replace long-lived secrets by binding identity to the…
View more
- Short-lived attested credentials replace long-lived secrets by binding identity to the workload itself.
- Organization-level identity templates centralize control while authorization stays confined to each account.
- CloudTrail records the workload identifier alongside the IAM role for precise agent activity attribution.
Amazon Web Services introduced IAM agent and workload identity in preview on December 4, 2026, giving each supported AI agent and workload a unique identity. The AWS Security Blog announcement says AWS Security Token Service (STS) checks attestation facts before issuing short-lived credentials, allowing an identity based on the workload itself to replace a long-lived secret.
The preview uses the Secure Production Identity Framework for Everyone, with JSON Web Tokens (JWTs) and X.509 certificates issued as SPIFFE Verifiable Identity Documents (SVIDs). It supports workloads on Amazon Elastic Kubernetes Service (EKS), Amazon Bedrock AgentCore Runtime and AgentCore Gateway, and is available at no additional charge in AWS commercial Regions.
For calls to AWS services, IAM places the identifier in the workload’s role session. A workload authenticating to a non-AWS service instead presents a JWT-SVID or X.509-SVID, giving one identity a role in both AWS access control and external authentication.
Attestation 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, and IAM-created JWT signing keys. Customers attach their own AWS Private Certificate Authority (AWS Private CA) when they want to issue X.509-SVIDs.
Workload identity templates control both 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 identifies the service supplying evidence and the facts it must report. EKS provides pod facts that the pod cannot alter, while AgentCore Runtime and Gateway supply facts from their control planes without additional configuration.
IAM applies a default attestation policy to new templates, though customers can restrict identities to one cluster, production namespaces or a particular AgentCore Runtime. Providers and templates can also 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, so these resources grant no additional permissions.
Credentials Connect Access Policies to Audit Records
The workload identifier appears in a JWT’s sub claim, the critical URI subject alternative name of an X.509 certificate, or the role-session context. AWS lists JWT-SVID lifetimes of up to one hour. X.509-SVIDs last 12 hours by default and can be configured for 1–12 hours, while the attesting service can set a role-session cap 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.
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 is material: S3 Block Public Access treats a policy using the subject alone as public.
CloudTrail records the identifier as onBehalfOf.subject alongside the IAM role. This allows activity within a role session to be traced to a particular agent or workload, providing more precise attribution than the role alone.
External Services Can Verify Agent Credentials
For services outside AWS, STS publishes the provider’s OpenID Connect discovery document, public JWT signing keys and SPIFFE trust bundle. Those materials let an external service verify workload credentials without possessing 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 its issuer, audience and subject against its federation policy, and returns a short-lived access token. When that 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 resulting credential with the provider’s trust bundle.
The preview makes identity a common control point across those connection types: the same identifier can determine what an agent may access, authenticate it without a stored client secret, and distinguish its AWS activity in CloudTrail. That connects routine authorization with more precise investigation when a security team needs to reconstruct an agent’s actions.












