Skill
AWS IAM Least Privilege
Narrows AWS IAM policies to the actions and resources a workload really uses, based on code and access logs, with every change explained.
aws-iam-least-privilege/SKILL.md
1Reduce permissions to what is used, and prove it before removing anything.
2Steps
31. List the policies in scope: inline, managed and trust policies in IaC files (Terraform, CloudFormation, CDK) or exported JSON.
42. Establish usage from three sources: the AWS SDK calls in the code (`grep` for client and command names), CloudTrail or `aws iam generate-service-last-accessed-details`, and IAM Access Analyzer findings if present.
53. Rewrite each statement:
aws
{ }
AWS IAM Least Privilege
Skillaws
Free