AWS Profile Management

0•

Verifies and manages AWS credentials to ensure infrastructure operations occur in the correct environment and prevent cross-account accidents.

The AWS Profile Management skill provides a safety-first framework for Claude to interact with AWS, implementing a robust verification layer before executing any Terraform or AWS CLI commands. It automatically checks the current caller identity, matches account IDs against specific environments (Dev, Staging, Prod), and handles complex credential scenarios like AWS SSO and role assumption. By enforcing strict environment detection and pre-operation checklists, it eliminates the risk of deploying resources to the wrong account or using expired tokens, making it an essential tool for secure and reliable DevOps workflows.

Key Features

01Multi-environment mapping for dev, staging, and production accounts
02Environment detection via directory structure and Terraform backend state
03Automated AWS identity verification via STS get-caller-identity
04Credential expiry detection for assumed roles and SSO sessions
05Support for profile switching and role assumption workflows
060 GitHub stars

Use Cases

01Validating production credentials before running sensitive terraform apply operations
02Switching between multiple AWS profiles when managing hybrid cloud environments
03Ensuring active SSO sessions have not expired during long-running infrastructure tasks