AWS Credential Resolution Order

•
1
•

Debugs AWS authentication hierarchies and prevents silent credential override traps across multi-account workflows.

Provides essential diagnostic patterns and resolution rules for AWS credentials and region settings across the AWS CLI, SDKs, and Boto3. This skill prevents common pitfalls like environment variables silently overriding AWS_PROFILE settings, provides best practices for managing temporary session tokens, and outlines step-by-step diagnostic workflows for switching profiles cleanly and resolving authentication bugs in multi-account cloud environments.

Key Features

01Step-by-step diagnostic runbooks for debugging AWS CLI and SDK authentication issues
02Safe multi-account switching workflows that eliminate silent AWS_PROFILE override bugs
03Proper handling and validation for short-lived session tokens and SSO credentials
04Clear guidance on AWS region resolution and Boto3 session initialization timing
05Comprehensive credential resolution hierarchy covering constructor args, env vars, profiles, and IAM metadata
061 GitHub stars

Use Cases

01Configuring secure CI/CD pipelines with short-lived session tokens and environment variables
02Debugging authentication errors when switching between multiple AWS named profiles
03Resolving Boto3 and AWS CLI credential mismatches in local Python development