AWS Details Okta-Managed Authorization for AI Agents Accessing AWS MCP Server

Summary
AWS Sign-In's Enterprise-Managed Authorization uses Okta-issued ID-JAG assertions to grant AI agents short-lived OAuth access to AWS MCP Server through IAM roles, with setup guidance, CloudTrail auditing, and least-privilege recommendations.
Key points
- Okta evaluates enterprise access policies and can issue a short-lived, signed ID-JAG assertion when an AI application requests access to AWS MCP Server.
- AWS Sign-In validates the assertion and exchanges it for an OAuth access token associated with an IAM role; that role’s policies govern the agent’s AWS operations.
- The walkthrough configures Okta as an OIDC identity provider, creates an IAM role, sets up Cross-App Access, and connects Claude to AWS MCP Server.
- AWS recommends short-lived assertions, tenant-specific IdP issuers, IAM condition keys to restrict approved OAuth clients and grant types, and least-privilege role permissions.
- Administrators can use CloudTrail to review OAuth token issuance and subsequent MCP activity, correlating API calls with the same session ARN.
Article Details
- Defense Focus
- Monitor and constrain enterprise-managed AI-agent authorization to AWS resources, ensuring OAuth token issuance and subsequent AWS operations match approved IdP policies and IAM permissions.
- Detection Methods
- In AWS CloudTrail Event history, filter for event source signin.amazonaws.com or event name CreateOAuth2Token to review OAuth token issuance.
- Review token-event details for the OAuth client identifier, target resource, grant type, and issuance status where recorded.
- Correlate subsequent aws-mcp.amazonaws.com activity with the same sign-in session ARN and verify that operations comply with the associated IAM role permissions.
- Test authorization controls by attempting an operation outside the role’s permissions and by using an employee not authorized in Okta; confirm both attempts are denied.
- Data Sources
- AWS CloudTrail Event history
- CloudTrail events with event source signin.amazonaws.com and event name CreateOAuth2Token
- CloudTrail events from aws-mcp.amazonaws.com correlated by sign-in session ARN
- Recorded OAuth client identifier, target resource, grant type, token issuance status, and subsequent AWS API operations
- Platforms
- AWS
- Defensive Actions
- Configure enterprise IdPs to issue short-lived ID-JAG assertions.
- Use tenant-specific IdP issuer URLs to establish explicit trust relationships.
- Use IAM condition keys to restrict token issuance to approved OAuth clients, grant types, and AWS resources; scope permissions to the AWS MCP Server service principal.
- Apply least-privilege IAM permissions to agent roles and grant only the AWS operations required.
- Review CloudTrail token-issuance and subsequent MCP activity, and validate access restrictions with authorized and unauthorized test cases.
Vendors
Amazon Web ServicesAWS Sign-In is introducing support for Enterprise-Managed Authorization (EMA) using the Identity Assertion JWT Authorization Grant (ID-JAG), enabling organizations to securely authorize AI agents to access AWS MCPOktaAI agents to access AWS MCP Server through their existing enterprise identity providers (IdPs), such as Okta.
Products
AWS CloudTrailYou can verify successful OAuth token issuance using AWS CloudTrail, as described in Step 6.AWS IAMBest practices for securing AI agent access with EMA and AWS IAMAWS MCP ServerJWT Authorization Grant (ID-JAG), enabling organizations to securely authorize AI agents to access AWS MCP Server through their existing enterprise identity providers (IdPs), such as Okta.AWS Security Token Service (AWS STS)As part of the authorization process, AWS validates the assertion against the trusted IdP and uses AWS Security Token Service (AWS STS) to evaluate the IAM role’s trust policy and establish the authorized role session.AWS Sign-InAWS Sign-In is introducing support for Enterprise-Managed Authorization (EMA) using the Identity Assertion JWT Authorization Grant (ID-JAG), enabling organizations to securely authorize AI agents to access AWS MCPClaudeWhen an employee signs in to an AI application such as Claude using their enterprise IdP, the authentication establishes their identity within Claude but doesn’t automatically grant access to AWS resources.OktaAI agents to access AWS MCP Server through their existing enterprise identity providers (IdPs), such as Okta.
