← ClaudeAtlas

aws-authlisted

Container-adapted AWS CLI authentication. Supports environment variable credentials, SSO login, IAM instance profiles, and interactive configure for headless environments. Use when the user says "login to aws", "aws login", "aws sso login", "configure aws", or when any AWS operation fails with auth/credential errors.
f5-sales-demo/marketplace · ★ 0 · DevOps & Infrastructure · score 71
Install: claude install-skill f5-sales-demo/marketplace
**Canonical skill URI**: `skill://aws:aws-auth` # AWS CLI Authentication (Container-Adapted) This skill guides authentication for headless container environments where browser-based SSO login may not be available. ## Authentication Methods ### Method 1: Environment Variables (Recommended for Automation) Best for CI/CD and automated environments. Set credentials directly via environment variables. **Setup:** ```bash export AWS_ACCESS_KEY_ID="<your-access-key-id>" export AWS_SECRET_ACCESS_KEY="<your-secret-access-key>" # Optional: for temporary credentials (STS) export AWS_SESSION_TOKEN="<your-session-token>" # Optional: set default region export AWS_REGION="us-east-1" ``` No additional login command needed -- the AWS CLI picks up these variables automatically. ### Method 2: SSO Login (Named Profile) Use when an SSO profile is configured in `~/.aws/config`. **Prerequisites:** - A named profile with SSO configuration in `~/.aws/config` - Browser access or SSO device authorization flow **Command:** ```bash aws sso login --profile "$AWS_PROFILE" ``` ### Method 3: Instance Profile / ECS Task Role Auto-detected when running on EC2, ECS, EKS, or Lambda. No action needed -- the AWS SDK and CLI automatically retrieve credentials from the instance metadata service. ### Method 4: Interactive Configure (Last Resort) Use when no other method is available. **Command:** ```bash aws configure ``` This prompts for Access Key ID, Secret Access Key, default region, and outpu