Skip to content
Software Engineering Stories
Go back

How to find the least privileges for AWS IAM policies

Context & Approach

AWS IAM Logo

An effective approach to finding the least privileges for AWS IAM policies is to use AWS CloudTrail. This page provides a detailed how-to; useful for continuous delivery IAM users.

Approach

⚠ It takes around 10 minutes for these logs to be shown in the AWS CloudTrail. So take a coffee in the meantime.

Finally, while still using your development machine, do a final deployment with a user having the new privileges you added on the previous steps. This catches any missing events not logged in CloudTrail, such as TagResource. And it’s the fastest way to trigger & complete the deployment.


Share this post:

Previous Post
Server Testing CI
Next Post
What are the least privileges required for AWS SAM?