AWS IAM Policy Generator
Generates least-privilege AWS IAM policies by analyzing source code for SDK calls and mapping them to required permissions.
The IAM Policy Generator skill automates the creation of secure, least-privilege AWS policies by scanning Python and Node.js codebases to identify specific AWS SDK method calls. It bridges the gap between application code and infrastructure security by mapping functions like 'put_object' or 'send_message' to their exact IAM actions, such as 's3:PutObject' and 'sqs:SendMessage'. This skill is ideal for developers and DevOps engineers who need to generate production-ready JSON policies or Terraform HCL blocks while ensuring that services are granted only the permissions they truly require, effectively reducing the cloud attack surface.