AWS tests cutting off an AI agent: new requests stop in about 1 second, issued tokens live 5 minutes
Amazon Web Services published a two-part test on 6 November 2026 of Okta Cross App Access, which decides which AI agent may act for which user, running on Amazon Bedrock AgentCore. AWS says removing a user's assignment refused new requests within about 1 second, while tokens already issued kept working for up to 5 minutes. Deactivating the agent itself sat in Okta's queue for 86 minutes in AWS's test organisation.
Why it matters: When an employee leaves or a contractor's access ends, the agent acting for them is one more door. AWS says the identity check added about 0.6 seconds to a request that takes about 30 seconds, so the control is cheap. The revocation timing is the number to put in your risk register.
The catch: Okta does not re-check the user when a grant is redeemed. AWS's authorization server issued an access token 3 seconds after a user was removed, using a grant minted before the removal. For GitHub-style per-user consent, an earlier token kept working for 1 hour after suspension. The test used one Okta organisation and three users, and AWS marks the code non-production. It is vendor-published.
What to do: Ask your identity vendor four questions: how fast a removed user is refused, how long issued tokens live, what the kill switch is, and whether group membership is re-checked when a grant is redeemed. Then mint a fresh grant for every agent request, as AWS advises, and treat deleting the agent's resource connection, not deactivating the agent, as the kill switch.
Our coverage →AWS Machine Learning Blog: Govern AI agent access with Okta Cross App Access and Amazon Bedrock AgentCore, part 1 ↗AWS Machine Learning Blog: part 2 ↗