Live
Pod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKSPod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKS
AWS

Enterprise Managed Authorization for AI Agents: New AWS Sign‑In Flow to MCP Server

AI SummaryPowered by AI

AWS Sign‑In now supports Enterprise‑Managed Authorization (EMA) using the Identity Assertion JWT Authorization Grant (ID‑JAG), letting enterprise identity providers directly issue short‑lived assertions for AI agents to access the AWS MCP Server. This removes per‑user consent steps and long‑lived credentials, allowing engineers to control agent permissions through existing IdP policies and IAM roles.

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:

  1. Define IdP policies that grant the required AI applications the appropriate ID‑JAG scope.
  2. Create or update IAM roles with trust statements that accept the IdP’s JWT issuer and attach least‑privilege permission policies.
  3. 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.

Originally published atAWS Security Blog