IAM Policy Autopilot: An open-source tool that brings IAM policy expertise to builders and AI coding assistants
Security Blog
This article announces IAM Policy Autopilot, an open-source tool that automatically generates AWS IAM policies by analyzing application code, available as CLI and MCP server.
- Analyzes Python, Go, and TypeScript code to generate identity-based IAM policies from AWS SDK calls
- Understands cross-service dependencies, automatically including KMS permissions for S3 encryption scenarios
- Integrates with AI coding assistants (Claude, Cursor, Cline, Amazon Q) via Model Context Protocol
- Detects Access Denied errors during testing and proposes targeted policy fixes
- Available as standalone CLI tool or MCP server for different development workflows
- Generates baseline policies prioritizing functionality; developers refine for least-privilege access
- Currently limited to identity-based policies; doesn't create resource-based policies
IAM Policy Autopilot accelerates AWS development by automating policy creation, reducing permission troubleshooting, and enabling developers to focus on application code rather than IAM expertise.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2025
2025
2026
2026
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.