Aws Cloudformation Iam
Provides AWS guidance and assistance for deploying and managing cloud infrastructure.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add aws-cloudformation-iam npx -- -y @trustedskills/aws-cloudformation-iam
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"aws-cloudformation-iam": {
"command": "npx",
"args": [
"-y",
"@trustedskills/aws-cloudformation-iam"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to programmatically manage AWS Identity and Access Management (IAM) resources directly through CloudFormation templates. It allows for the automated creation, modification, and deletion of IAM users, roles, groups, and policies while maintaining infrastructure as code principles.
When to use it
- Automating the provisioning of secure access roles for new microservices or serverless functions without manual console interaction.
- Enforcing consistent security policies across multiple AWS accounts by deploying standardized CloudFormation stacks.
- Rapidly scaling team access by generating and applying IAM user definitions based on project requirements.
- Reverting access configurations to a previous state during incident response or compliance audits.
Key capabilities
- Define and deploy IAM users with specific login credentials and permissions.
- Create managed IAM roles for EC2 instances, Lambda functions, and other AWS services.
- Attach inline policies and manage policy versions within CloudFormation templates.
- Handle group membership to organize users with shared permission sets.
Example prompts
- "Create a new IAM role for an EC2 instance that allows read-only access to S3 buckets in the 'production' account."
- "Generate a CloudFormation template to add a user named 'devops-engineer' with administrative privileges to the 'staging' environment."
- "Update the existing Lambda execution role to include permissions for invoking API Gateway methods."
Tips & gotchas
Ensure your AWS CLI is configured with sufficient permissions to execute CloudFormation updates before running this skill. Always validate CloudFormation templates against AWS IAM best practices to prevent over-permissive policies from being deployed automatically.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.