Get startedGet started for free

Isolate one tenant

Your team keeps every customer's rows in one shared DynamoDB table, one partition key per tenant. The reports service reads that table on behalf of whoever is signed in, and it currently carries the AWS managed policy somebody attached in a hurry.

Open the Tenant isolation console and read what that managed policy hands back. Then switch to the customer managed one, which is where the video's dynamodb:LeadingKeys condition lives, and work through the actions its statement grants.

The condition denies two of the five requests on its own. That is still not isolation.

Which change finally stops the caller reading another tenant's rows?

This exercise is part of the course

Using AWS Security for Developers

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise