AWS CLI Sign-In & Authentication
Authenticates developers to AWS CLI and SDKs using secure, short-term auto-rotating credentials via aws login.
Streamlines AWS authentication for local development by guiding developers through the modern aws login workflow introduced in AWS CLI v2.32.0+. This skill automatically verifies CLI versions, inspects existing caller identities, detects insecure long-term access keys, and executes confirmed logins to supply short-term credentials that auto-rotate every 15 minutes. It intelligently handles authentication errors, remote terminal access via code verification, and IAM permission policies while respecting existing AWS IAM Identity Center (SSO) configurations.
Key Features
01Preserves existing AWS IAM Identity Center configurations without disrupting SSO profiles
02Detects legacy long-term access keys (AKIA) and advises migration to ephemeral sessions
03Generates secure short-term credentials that auto-rotate every 15 minutes for up to 12 hours
04Performs automated precondition checks including CLI version validation and caller identity inspection
05Supports headless and SSH environments using browserless remote login workflows
060 GitHub stars
Use Cases
01Setting up local AWS CLI credentials after encountering expired session tokens or AccessDenied exceptions
02Transitioning from static long-term IAM access keys to secure auto-rotating short-term credentials
03Authenticating to AWS resources from remote development containers, cloud shells, or SSH sessions