# Govern AI agent access with Okta Cross App Access and Amazon Bedrock AgentCore - Part 1

DevFeed: [Govern AI agent access with Okta Cross App Access and Amazon Bedrock AgentCore - Part 1](<https://devfeed.tech/articles/govern-ai-agent-access-with-okta-cross-app-access-and-amazon-bedrock-agentcore-part-1-121741.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/govern-ai-agent-access-with-okta-cross-app-access-and-amazon-bedrock-agentcore-part-1/>)

Author: Hammad Ausaf

Published: 2026-11-06T17:09:18Z

Content type: tutorial

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [cross-app-access](<https://devfeed.tech/topics/cross-app-access.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [okta](<https://devfeed.tech/topics/okta.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [act](<https://devfeed.tech/tags/act.md>), [admin](<https://devfeed.tech/tags/admin.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agent-access](<https://devfeed.tech/tags/ai-agent-access.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [app](<https://devfeed.tech/tags/app.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [cross-app-access](<https://devfeed.tech/tags/cross-app-access.md>), [expert-400](<https://devfeed.tech/tags/expert-400.md>), [identity](<https://devfeed.tech/tags/identity.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [okta](<https://devfeed.tech/tags/okta.md>), [service-accounts](<https://devfeed.tech/tags/service-accounts.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [user](<https://devfeed.tech/tags/user.md>)

## AI overview

Okta Cross App Access governs which agent may act for which user, while Amazon Bedrock AgentCore carries out that decision. The BFF exchanges the user's ID token for a single-use, five-minute ID-JAG; AgentCore runtime accepts only grants issued to the configured agent; AgentCore Identity redeems each grant for a short-lived token naming both user and agent, then caches it for reuse within the request. MCP servers enforce user authority using group and scope claims. In the authors' tests, removing a user blocked new ID-JAG requests in about one second, while previously issued tokens expired within five minutes; Identity added about 0.6 seconds to an approximately 30-second request. The article also reports that plain RFC 8693 exchange carried user identity but not user authority in their Okta configuration. The walkthrough is based on an AWS sample; its snippets are conceptual, not a complete deployable solution, and are intended for non-production use.

## Source excerpt

An AI agent that acts for a user raises an identity question that per-app OAuth and service accounts leave open: which agent may act for which user, and how you stop it. In this first post of two, you build a task agent on Amazon Bedrock AgentCore that governs access through Okta Cross App Access and AgentCore Identity, and enforces each user's authority.