Secure multi-tenant RAG with Amazon Bedrock and Verified Permissions
AWS•Blog post••by Rennay Dorasamy, Asif Hamza and Łukasz Wolański•AWS Architecture Blog
This post walks you through a two-layer, defense-in-depth authorization pattern for granular, intra-tenant access control in RAG applications. Defense in depth is a security strategy that uses multiple independent layers of protection. Each layer operates independently. If one layer is misconfigured, the other layer still enforces access control. The pattern runs on Amazon Bedrock, a fully managed service that offers a choice of high-performing foundation models (FMs) from Amazon and AI…
A two-layer authorization pattern limits which department documents a shared Bedrock Knowledge Base returns, with access rules held as Cedar policies in Verified Permissions and changeable without redeployment.
Who it is for
Teams running internal RAG apps on Bedrock that serve several departments from one knowledge base and need document-level access control.
Key points
Filter-level isolation within one tenant only; the post says hard cross-tenant isolation needs a knowledge base per tenant.
Layer 1 checks API access in a Lambda Authorizer; Layer 2 builds a metadata filter for retrieval, and both deny by default.
Authorizer cache TTL controls how fast revocations take effect; the post says 0 gives immediate revocation at higher latency.
AI:Both cover permission-aware knowledge retrieval for enterprise agents, reached by different designs: Microsoft's four-layer governance pattern versus AWS's Verified Permissions authorization on Bedrock.
Timeline
Posts about Amazon Bedrock Knowledge Bases, oldest first.
AI:Strategy Mosaic models a customer 360 across Amazon Redshift and Aurora with no ETL, exposes it to a Strands agent on AgentCore via the Mosaic MCP server, and enforces per-user row and column security.
AWS•Customer story••by Elias Bedmar, Kaizad Wadia, Klaus Kristiansen, Konstantinos Poul Papanikos, Lauge Nissen, Nicolai Piet Dittmann, Venelin Banov and Victor Ihuoma•AWS Artificial Intelligence Blog
AI:Novo Nordisk's manufacturing team built a process-intelligence assistant on Bedrock AgentCore that pairs a Neptune knowledge graph with OpenSearch hybrid search to give cited answers from controlled documents.
AI:Trovata, a treasury platform, describes autonomous treasury agents it built on Amazon Bedrock and AgentCore, with RBAC-controlled access to bank data.