Mental model
Tenant isolation is an end-to-end invariant carried through identity, storage, execution, cache keys, and evidence, not a UI filter.
Learning outcomes
- Explain the mechanism and ownership boundaries behind Multi-Tenant AI Data Isolation.
- Compare the main design alternatives and their operational trade-offs.
- Diagnose common failures and select evidence for a production decision.
Theory
Bind tenant identity server-side, enforce row and document policies, partition high-risk stores, namespace caches and vectors, isolate credentials, test negative access, and audit administrative access.
Trade-offs
Physical isolation offers strong boundaries but raises cost and operational overhead. Logical isolation is efficient but depends on every query and cache layer preserving policy context.
Failure modes and misconceptions
Client-supplied tenant IDs; shared semantic caches; global vector namespaces; service credentials with all-tenant access; cross-tenant traces; and support exports without authorization.
Decision scenario
A shared RAG service serves fifty customers. Choose isolation boundaries for indexes, caches, tool credentials, traces, and evaluation samples.
Which shared AI components can leak tenant information even when the primary database enforces row-level security?
Primary sources
nist-zero-trustnist-privacy-framework