Separate the data key from the tenant boundary
How tenant-specific key hierarchies, authenticated tenant context, and tenant-scoped key use prevent cross-tenant decryption in pooled storage. · advanced
A tenant-bound envelope has two key levels: a tenant-specific key-encryption key (KEK) and independently generated data encryption keys (DEKs) beneath it. In this design, each tenant has a separate symmetric AWS KMS key, and each object gets a fresh DEK. The application encrypts the payload locally with authenticated encryption; KMS protects the DEK, not the bulk payload.
On a write, GenerateDataKey returns a plaintext DEK and its encrypted copy under the tenant's KMS key. Store the ciphertext, wrapped DEK, nonce, authentication tag, and required format metadata together. Remove the plaintext DEK as soon as practical. On a read, an authorized Decrypt operation recovers the DEK for local payload decryption.
Separate keys are not sufficient isolation. A principal permitted to decrypt with every tenant's key can still unwrap every tenant's DEKs. Isolation also requires authenticated tenant identity, tenant-scoped key permissions, and cryptographic binding between the envelope and its intended tenant.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.