AWS Sign‑In has added Enterprise Managed Authorization (EMA) support via the Identity Assertion JWT Authorization Grant (ID‑JAG). The change lets an organization’s IdP—such as Okta—issue a signed, short‑lived assertion that an AI application can exchange for an OAuth access token to the AWS MCP Server, eliminating separate consent dialogs and the need for long‑term AWS credentials. Engineers building or operating AI‑enabled workloads can now rely on a single, centrally managed policy surface for both authentication and AWS resource access.
How EMA Works with AWS Sign‑In
When a user signs into an AI tool (for example, Claude) using the corporate IdP, the IdP authenticates the user but does not automatically grant AWS permissions. If the AI tool needs to call an MCP server, the IdP evaluates its pre‑configured access policies and, if allowed, issues an ID‑JAG assertion that encodes the target resource and the requesting application.
The AI tool presents this assertion to the AWS Sign‑In OAuth token endpoint. AWS Sign‑In validates the JWT against the trusted IdP, then invokes AWS Security Token Service (STS) to assume the IAM role defined for the agent. The resulting OAuth token inherits the role’s IAM policies, which dictate the exact AWS operations the agent may perform.
Architectural Impact
Implementing EMA introduces a new trust boundary between the enterprise IdP and AWS Sign‑In. The flow can be visualised as:
- Employee authenticates to IdP → IdP issues ID‑JAG for AI app.
- AI app sends ID‑JAG to AWS Sign‑In token endpoint.
- AWS validates assertion, calls STS, assumes IAM role.
- OAuth token returned to AI app; token is used against MCP Server.
Key architectural artifacts include:
- IdP policy objects that map AI applications to allowed AWS resources.
- IAM role trust policy that trusts the IdP‑issued assertions.
- IAM permission policies attached to the role, defining the actual AWS actions.
Because the token is short‑lived, the system reduces credential sprawl while preserving the fine‑grained permission model already present in IAM.
Operational and Security Considerations
From an operations perspective, teams must provision the following:
- IdP configuration that issues ID‑JAG tokens for the specific AI applications.
- IAM role with a trust relationship that accepts the IdP’s JWT issuer.
- Monitoring of token issuance and STS assume‑role events to detect unexpected usage.
Security implications are largely about policy correctness. Mis‑configured IdP policies could allow an AI agent to request assertions for resources it should not access, while overly permissive IAM policies could broaden the agent’s effective rights. The short lifespan of the OAuth token mitigates the impact of token leakage, but logging and alerting on token exchange failures remain best practice.
Because EMA does not replace existing IAM permissions, any existing role‑based controls continue to apply. Practitioners should therefore review both IdP policy definitions and IAM role policies to ensure they are aligned and do not unintentionally duplicate or conflict.
Related CloudNinjas coverage: AWS.
What This Means For Practitioners
Adopting EMA means you can centralise AI‑agent authorisation in your corporate IdP, remove manual consent steps, and keep credential exposure low. The immediate actions are to:
- Define IdP policies that grant the required AI applications the appropriate ID‑JAG scope.
- Create or update IAM roles with trust statements that accept the IdP’s JWT issuer and attach least‑privilege permission policies.
- Instrument STS and AWS Sign‑In token endpoints for audit logs and set up alerts for anomalous token exchanges.
Future evaluation should focus on the lifecycle of ID‑JAG assertions, token expiration settings, and the scalability of IdP policy management as the number of AI agents grows.

