This is a short version of this blog post, aimed at security and engineering leaders. For the technical version, with policy examples and implementation detail, see how to authorize AI agents on Amazon Bedrock AgentCore with Axiomatics.
Amazon Bedrock AgentCore, AWS's platform for running AI agents in production, reached general availability in October 2025. AWS has since reported that tasks performed by agents on AgentCore grew fifteen-fold in six months, naming Nasdaq, Visa and Experian among customers running them in production (Forbes, June 2026).
For access control, the AgentCore platform matters because of how it is built. Every tool an agent reaches — an internal API, a database query, a document search — goes through a single component called the gateway. One place sees every action an agent attempts, before it happens, which makes it the natural place to decide whether the action should happen at all.
Authorization Already Built into AgentCore
AWS ships a substantial amount of authorization into the platform already. The gateway authenticates whoever is calling before anything else runs. AWS also ships its own authorization service, generally available since March 2026, in which rules are written in a language called Cedar and evaluated on every tool call. In August 2026 AWS added Dogwood, which extends those rules to refer to earlier events in a session, such as requiring an approval before a payment, or capping a running total.
For a company running agents only on AWS, whose rules fit neatly into allow-or-refuse tool calls, that is a reasonable place to stop. However, those controls have two limits.
- Rules tied to one platform. Cedar and Dogwood are AWS's languages, evaluated by AWS's service. Most organisations are less tidy than that: agents on another cloud, agent tooling running on their own infrastructure, and — more to the point — the applications, APIs and databases that were already under access control long before any agent existed. A rule like "salary data is visible only to HR staff above a certain grade" should not be written once for the data warehouse, again for the agent, and a third time somewhere else. Every additional copy of the same rule could be a risk for drift.
- Answers that are only yes or no. Allow-or-refuse settles whether a tool may be used. It does not settle which of four thousand documents behind a search the person asking is entitled to see. That question needs an answer shaped like a filter rather than a yes/no.
Deployment Components: Yours and Ours
Take a deployment of the kind many enterprises are building now: an internal assistant that any employee can ask about company matters. It searches a knowledge base of internal documents, raises tickets, queries a reporting database and sends email on the employee's behalf. Everyone has access to the same assistant, and yet what each person should be able to reach through it differs considerably — a finance analyst and a summer intern should not get the same answer to "what did we pay our top five suppliers last quarter?", and neither should be able to have the assistant email it to an external address.
The diagram below shows how such a deployment is assembled, and which parts of it belong to whom.
The assistant, the gateway it calls through, the tools behind it, the knowledge base its search tool reads from, and the identity provider that issues your people their logins are all yours, and all of them exist before authorization enters the picture.
We add two things. A policy engine, which makes the decisions, and a small component that sits between the gateway and the engine in order to ask the engine before letting a request through. If you do not yet have a gateway, our deployment can create one; if you do, it attaches to what you run.
The agent itself is untouched: nothing to add to its code, and no redeployment. That is what makes it possible to govern an agent somebody else built, or one bought from a vendor.
Who the user is comes from the token your identity provider already issues. What they are entitled to — their role, department, clearance — is looked up at the moment of the decision, from your directory (a database, LDAP, or HTTP API). The agent tells us who is asking; it never tells us what they are allowed to do. Change someone's department in the directory and the next action they take is judged against the new one.
The Same Tool, Different Answers
The first use case is a straightforward one. A weather lookup is available to everyone. Sending email, deleting a file or running a database query is restricted to people with the clearance for it. The same tool therefore gives different answers to different people, which is something cloud IAM permissions cannot express — those govern which system may call which system, not which employee is behind the request.
When a request is refused, the tool is never invoked at all. The agent receives a clean error and tells the user their request was blocked.
Search that Returns Different Documents to Different People
The second use case is trickier, and more consequential. Many agents answer questions by searching a knowledge base of company documents and feeding what they find to the model — the pattern usually called retrieval-augmented generation (RAG). The search tool is one every employee may use. The question is which documents it should return for the person asking.
Allow-or-refuse cannot answer that. It can only permit the search across everything, or block it entirely. Neither is what you want, because the correct answer is that the search should run over the subset of documents this particular person is entitled to read.
So the decision is made in two parts, both before the search runs.
First, may this person use the search tool at all. Then, a second and unusual question: rather than asking about one document, we ask the policy engine what would have to be true of a document for this person to be allowed to read it. The engine answers with a condition — in effect, documents belonging to your own department or marked public, up to your clearance level. That condition is converted into a filter the document knowledge base understands and attached to the search before it runs.
Two things follow. A document someone may not read is never retrieved at all, rather than fetched and then discarded. And the same rule works across different document stores (e.g., S3 Vectors, or Bedrock KB, or others), because only the translation at the end differs.
Beyond Allowing and Refusing
The same mechanism extends further. Tools a person may not use can be hidden from the agent entirely, so the model never learns they exist and cannot be talked into trying them. Furthermore, results coming back from a tool can have records dropped or sensitive fields masked before the model ever sees them. Both use the same policy and the same engine.
Putting It In Place
The integration is packaged for whichever route suits your account: through the AWS Serverless Application Repository, as published container images you copy into your own registry, or as a Terraform module that wires everything together and attaches to your existing gateway.
You bring your policy and the connections to your directory. The engine is ours.
The Same Policy in Other Places
Because the rules describe people, tools and documents rather than AWS services, the same policy can govern agents elsewhere — on another cloud, on your own infrastructure, or inside an agent framework. The place it is enforced changes; the rule does not. That is the argument for keeping the decision outside any one platform, even when the platform offers its own.
Talking to us
The integration described here can be deployed into your own AWS account. If you are defining what your agents on AgentCore should be allowed to do, or reconciling that with the access rules already governing your applications and data, we would be glad to review the architecture with your team.


