Skip to content

Cloud & Architecture · Free

AWS IAM Credential Broker

AWS IAM Credential Broker is an AWS service, in public preview since November 29, 2026, that obtains, caches and refreshes the credentials a workload on AWS needs to call systems outside AWS. Those credentials are OAuth access tokens for SaaS applications, external identity providers and internal APIs, plus static API keys. The workload signs its request with its own IAM role (SigV4), and the broker returns a short-lived token that it got from the external authorization server, or the stored API key. Credential Broker does not issue tokens itself; your identity provider or the SaaS platform issues every one.

Who it is for: teams running agents and applications on AWS Lambda, Amazon ECS, Amazon EKS or Amazon EC2 that call services such as Salesforce, Snowflake, Databricks, Jira, GitHub, Okta-protected APIs, or services in Azure and Google Cloud, and that do not want to build consent, code exchange, token storage and refresh into every app. AWS's documentation says agents built on Amazon Bedrock AgentCore should keep using AgentCore Identity instead, and that services which accept an AWS-signed JWT should use IAM outbound identity federation, where no client secret is stored at all.

Key features. One credential provider pool per account holds shared settings such as encryption. Each credential provider has a fixed type: an OAuth provider (built from a vendor template, such as the Okta and Amazon Cognito options shown in the setup guide, or from a custom OAuth 2.0 configuration) or an API key provider. OAuth providers support three grants: client credentials for machine-to-machine work, authorization code for one user's data with a one-time browser consent and a session-binding check, and token exchange for users who are already signed in. User-delegated flows require a per-user IAM session that carries the user's identity through IAM federation or IAM Identity Center trusted identity propagation. Tokens are cached for up to one hour. Client secrets and API keys live in AWS Secrets Manager in your own account, and cached tokens are encrypted with an AWS owned key or a customer managed KMS key. Token requests are recorded in AWS CloudTrail.

Known limits in the preview documentation: DPoP-bound tokens are not supported, there is no broker-hosted consent portal, and a headless caller cannot complete a consent flow.

Pricing type: no additional cost during the preview, in all commercial AWS Regions. AWS has not published pricing for general availability.

Alternatives: AgentCore Identity, IAM outbound identity federation (STS GetWebIdentityToken), storing secrets yourself in AWS Secrets Manager, and third-party token vaults.

Official URL: https://aws.amazon.com/iam/credential-broker/ (documentation: https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-broker.html)

Official site