Skip to content

8 November 2026 · via AWS

AWS explains how to govern AI agent access with Okta

AWS has published a walkthrough for governing AI agent access with Okta Cross App Access and Amazon Bedrock AgentCore. It shows how agents can act for signed-in users under administrator-approved permissions. For small businesses, the practical lesson is to define access limits, protect credentials and test how quickly access stops.

What has AWS published?

AWS describes a task agent that acts for signed-in users through Okta Cross App Access (XAA) and Amazon Bedrock AgentCore Identity. Administrators register the agent in Okta and approve the applications it may reach. Okta then checks policy whenever the agent requests permission to act for a user.

The responsibilities are split. Okta makes the access decision. Amazon Bedrock AgentCore runtime validates Okta’s grant, while Amazon Bedrock AgentCore Identity exchanges it for a short-lived access token without exposing the agent’s credentials to the agent code. The tools also check whether the user’s group and scope permit the requested action.

This is implementation guidance, not a complete production deployment. AWS says the walkthrough takes about an hour, but the sample code is for non-production use and the additional snippets are conceptual. The AWS article advises involving security and legal teams before deployment.

Why does this matter for a small business?

An agent reading a customer record or updating a ticket needs more than a working login. A business should be able to explain which person it represents, which applications it can reach and which actions it can take. Otherwise, convenience can turn into excessive access that is difficult to review or withdraw.

The useful principle is to keep the user’s authority and the agent’s identity visible together. In the AWS design, the access token identifies both. For an owner or manager, that suggests a simple purchasing question: can the proposed agent respect each employee’s permissions, rather than operate through one broadly privileged shared account?

How quickly can access actually stop?

AWS reports that, in its tests, Okta refused new requests for a user within about one second after an administrator removed that user’s assignment to the agent. Tokens already issued expired within five minutes. These are test observations from the described setup, not a guarantee for every deployment.

That distinction matters when an employee changes roles or an agent behaves unexpectedly. Blocking new requests is not the same as immediately invalidating every existing token. Ask your technical team to document both timings and test them before giving an agent permission to change business records.

There is also a performance trade-off to measure. AWS reports that AgentCore Identity added about 0.6 seconds to a request taking about 30 seconds end to end in its tests. Your pilot should assess the full task time, not assume those timings will apply to your workflow.

What should you do before deploying an agent?

Start with one bounded task. List the applications it needs, the people it may represent and the actions it must never perform. Separate reading from writing where possible. Assign an owner who can approve permission changes and stop the pilot.

Ask your implementation team to demonstrate denied requests, not just successful ones. Test an unassigned user, an action outside the permitted scope and removal of access while a token remains valid. Keep credentials out of code, restrict the agent’s permissions and review security and compliance requirements before production use. Budget for testing and operation: AWS says AgentCore charges for usage.

Apply the same access questions when evaluating other digital workers. Terabot gives businesses AI workers with their own computers, each a private virtual machine, that work in the apps a team already uses and work around the clock. It is in private preview, by invitation only.

Key takeaways

  • AWS describes an access-governance pattern, not a ready-to-deploy production solution.
  • Define which user an agent represents and restrict both its application access and permitted actions.
  • Test access removal, existing-token expiry and denied requests before allowing changes to business records.

Written with AI assistance from the source linked above, and checked against it before publishing. Product names belong to their owners. Check the original source before relying on details.

FAQ

Questions people ask

Is the AWS walkthrough ready for production use?

No. AWS describes the code as non-production sample code and says the snippets are not a complete, deployable solution. Security, regulatory and compliance requirements need review before deployment.

Does removing a user’s assignment stop all access immediately?

Not in the tests AWS describes. New requests were refused within about one second, while already-issued tokens expired within five minutes.

What should a small business test first?

Choose a narrow task and verify that the agent cannot exceed the user’s permissions. Then test how access removal affects both new requests and tokens already issued.

More from the blog

Get your first digital worker

Terabot is in private preview. Request an invitation and we'll let you know when your spot is ready.