← sources

testing IAM policies for console access

source: reddit (reddit:aws)published 2026-09-30 14:44ingested 2026-10-01 02:43

retained text

Curious how people test and validate IAM policies for other users?

I've been tasked with locking down user access as a number of colleagues had open admin policies.  I have is to test the policy is working without having to ask the user every time. 

The specific requirement is to allow them to add users and groups to IAM Identity Centre and add files to one s3 bucket. This team does all their work via the console. 

I am a full admin. Everybody's access is locked down using SSO with Entra so I can't create a dummy account to test as it won't be able to authenticate. 

If I add myself to their group I will lose my own admin privilege and require a colleague to change me back each time I need to test or check cloudtrail etc. 

document fetched 2026-10-01 00:41 · canonical https://reddit.com/r/aws/comments/1wu6t7q/testing_iam_policies_for_console_access