AWS gives agents one IAM identity and brokers their third-party tokens

AWS has put the credential broker pattern into IAM itself. The public preview of AWS IAM Credential Broker, announced on 29 November 2026, lets an agent present its own AWS IAM identity and receive a short-lived OAuth access token — or a vaulted API key — for an external system such as Snowflake, Databricks, Salesforce, or a service in Azure or GCP. The agent never holds the OAuth client secret, and when it acts for a user it can only retrieve that user’s credential. It is the clearest sign yet that the major clouds are treating an agent’s identity as an IAM principal with a delegated, per-user scope rather than as a service account with a password.

Contents
  1. What AWS announced
  2. Why it matters for KYA
  3. What it does not solve
  4. What to do on Monday
  5. The limits, stated plainly
  6. Sources

What AWS announced

The public preview is available in all commercial AWS Regions at no additional cost during the preview. AWS describes the problem in familiar terms: teams otherwise rebuild OAuth and credential handling in every application and agent that needs to reach an external system.

The broker works in two phases. In setup, an administrator creates a credential provider — an OAuth provider configuration (endpoint, the app registration’s client credentials, and for user flows the allowed session-binding URLs) or an API-key provider. Client secrets and API keys are held in AWS Secrets Manager rather than in the agent’s code, configuration or environment variables.

At run time, the agent calls Credential Broker with its own AWS IAM credentials, signed with SigV4 under its IAM role. Credential Broker checks that the caller has IAM permission to use the credential provider and, for user flows, that the request is made on behalf of the user the credential was obtained for. It then calls the external identity provider or authorization server, caches the token encrypted at rest, and returns it. Cached tokens last up to one hour, or until they expire if sooner.

Three OAuth flows are supported:

  • Client credentials (machine-to-machine). No end user; permissions are fixed at the application level.
  • Authorization code (three-legged). The user is present and approves access once in a browser; permissions follow the scopes the user consented to.
  • Token exchange (on-behalf-of). The user is already signed in; no new consent prompt appears, and permissions derive from the signed-in user’s identity and the provider configuration.

AWS says the broker works through the identity provider an organisation already uses — Okta, Microsoft Entra ID or Auth0, for example — and that access follows the policies set there, with no extra trust setup in each external system. Users approve access once, and the broker refreshes tokens in the background.

Two limits are stated plainly in the documentation. Credential Broker does not issue credentials: the identity provider, external authorization server or SaaS platform issues every token. And it does not authenticate the end user itself; for user flows, the agent’s IAM role session must already carry the user’s identity, added through trusted identity propagation. Agents built on Amazon Bedrock AgentCore are told to keep using AgentCore Identity instead.

Why it matters for KYA

The agent gets an identity that is separate from its secret. In most agent deployments today, the agent is configured with a long-lived OAuth client secret or API key. That secret is the agent’s identity in practice: anyone who copies it becomes the agent. The broker changes the shape of the problem. The agent authenticates as an IAM principal, and the external credential is minted on request, scoped to a provider, and short-lived. Copying the agent’s configuration no longer copies the keys to Salesforce.

Delegation is expressed in two dimensions at once. The IAM policy decides which credential providers an agent may use. The identity-provider policy and the user’s consent decide what the resulting token can do. That is a more honest model of delegated authority than a single broad token, because the agent’s permission to ask is separate from the user’s permission to grant.

The external system sees the user, not a shared robot account. When an agent acts for a user, it uses only that user’s access, and the external system can enforce and audit that user’s permissions as it would for the same person signing in directly. For KYA, that is the difference between an audit log that says “the integration did it” and one that says which human’s authority was exercised.

Secrets stop being an agent-configuration problem. The broker holds client secrets and API keys centrally. The agent receives only a short-lived access token. This removes a failure mode the site has covered before: infostealers that hunt agent credentials sitting in config files.

What it does not solve

Consent and revocation are still the hard parts. The preview refreshes tokens silently from a stored refresh token for user flows. It does not describe, in the pages we read, how an organisation revokes a user’s delegated access across every agent that has obtained a token, or how it proves to an auditor that a given token was issued for a given task. Those remain product and process questions.

The broker is a credential exchange, not an agent registry. It does not tell a relying party which agent is calling, what its mandate is, or who owns it. It answers “may this IAM principal obtain a credential for this provider, on whose behalf” — not “should this agent be trusted with this action”. That is a narrower question than KYA, and an important one.

It is a preview. The documentation carries a prerelease notice and says the service is subject to change. There is no production SLA to rely on yet, and the integration surface — provider templates, session-binding URLs, IAM actions such as credentialbroker:GetOAuthToken and GetApiKey — may move.

Trusted identity propagation is doing a lot of the work. If the user context in the IAM role session is wrong or stale, the broker will faithfully return the wrong user’s credential. The security of the whole chain depends on how that context is established and how long it lives.

What to do on Monday

  • Inventory the long-lived secrets in your agents. Every OAuth client secret, refresh token and API key in an agent’s configuration is a candidate for brokering. Rank them by blast radius, not by count.
  • Model each external system as a credential provider. Decide the flow per system: machine-to-machine where no user is involved, authorization code where the user must consent, token exchange where the user is already signed in.
  • Write the IAM policy before the integration. Which roles may call which providers, and under which user context. Treat the policy as the agent’s entitlement, and review it like one.
  • Log token issuance, not just token use. The broker is a natural audit point: principal, provider, user context, time, TTL. Keep those records with the agent’s action log.
  • Test the revocation path. Remove a user’s access at the identity provider and confirm that new token requests fail and cached tokens expire rather than refresh. Test it before an incident, not during one.
  • Keep AgentCore agents on AgentCore Identity. The broker is aimed at Lambda, ECS, EKS, EC2 and other AWS compute; the documentation explicitly points AgentCore users elsewhere.

The limits, stated plainly

This article is based on the AWS What’s New announcement of 29 November 2026 and the AWS IAM Credential Broker documentation page, read in full. We have not tested the preview, and we have not reviewed its pricing beyond AWS’s statement that it is free during the preview. The service is prerelease and subject to change. This is not legal or compliance advice.

Sources

Related on kya.fi: Google Cloud gives every agent a SPIFFE identity and a sandbox that holds no secrets and IBM makes Agent Identity generally available, with Vault issuing a short-lived credential.


Know Your Agent (KYA) explains agent identity, verification and accountability. This is an explainer, not legal or compliance advice — see our Sources & methodology. New to KYA? Start with What is Know Your Agent? and the glossary.