
What happened
AWS published a reference architecture for a shared internal assistant on Amazon Bedrock Managed Knowledge Base, where AgentCore Gateway automatically injects each signed-in user's verified email into every search request instead of letting the AI model choose it.
Why it matters
Without this, an employee in one department could receive another department's documents in an answer, since the model — not application code — picks the search parameters.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
The post is aimed at a problem that grows with agent adoption: a single organization might soon run hundreds of agents, each connected to many data sources. In a traditional application, code decides who the signed-in user is and searches with that user's permissions. In an agent, a large language model decides at runtime which tool to call and with which arguments, so if a search tool takes "who to search as" as an argument, a prompt injection or a model error could make the agent search as a different employee.
The proposed architecture separates the tool layer (AgentCore Gateway) from the resource layer (Managed Knowledge Base) and gives each a primary and a secondary defense. The primary pair is a request interceptor that injects the user identity deterministically from the verified token, plus ACL awareness in the knowledge base, which returns only documents that user is allowed to view. The secondary pair — a Cedar policy check and a resource-based policy — covers cases where an assumption behind the primary defenses fails, such as an interceptor bug or a principal calling the knowledge base without going through the gateway.
The post is explicit that ACL awareness filters results based on the userContext it receives and isn't an authorization mechanism by itself; Managed Knowledge Base doesn't authenticate end users and trusts the userContext, so passing a verified value is the caller's responsibility. It also flags operational caveats: a document without an ACL entry isn't ingested, ACL changes apply only after the next sync, and mistakes fail silently rather than with an error. For teams adapting the pattern to an existing Amazon Cognito user pool, access token customization requires the Essentials or Plus feature plan.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
altspark Inc., a Pittsburgh-based startup, launched a hosted platform that connects apps, databases and docume…
ASUS announced the XA P8N-E2X at NVIDIA GTC Washington, D.C

Anthropic said its models found vulnerabilities in advanced cryptography standards, weaknesses that matter for…

Ruining He and co-authors at Google Research proposed RealFormer, which adds residual connections to attention…

Ben's Bites compares today's AI adoption to learning to Google in 1998 — it took about ten years for search ha…

In McKinsey's August 2026 survey, 40% of respondents at organizations with more than $1 billion in annual reve…
