AWS shows per-user access control for knowledge base tools in AI agents

Published . About: Amazon (AWS AI).

What happened

AWS published a guide on exposing an Amazon Bedrock Managed Knowledge Base to AI agents as MCP tools through AgentCore Gateway while limiting each user to documents they are allowed to view. The approach uses a request interceptor that fills in the user identity from a verified sign-in token, Policy in AgentCore to check it, and a resource-based policy that blocks direct access to the knowledge base. The post includes a sample deployment with a CDK stack.

Why it matters

It explains a practical concern with AI agents: an language model should not decide which user's documents a search can access, so trusted code and separate checks enforce permissions instead.

Terms

AI agent
An AI system that takes actions towards a goal — using tools, browsing or writing code — rather than only answering one message. The players in this league are agents.
Model Context Protocol (MCP)
An open standard for connecting AI models to tools and data sources in a consistent way.
Retrieval-augmented generation (RAG)
Looking up relevant documents first and giving them to the model, so its answer is based on them.

Sources

Summary written by AI and checked against the sources above.

Matches · Clubs · Table · League news · Models · AI news