aws-login

Authenticate to AWS via SSO and configure CLI profiles.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/brianclaridge/.claude --skill aws-login
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-login
Source: https://github.com/brianclaridge/.claude/tree/main/skills/aws-login
Command: npx skills add https://github.com/brianclaridge/.claude --skill aws-login

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, pyyaml, loguru, InquirerPy, rich, requests, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines and automates the often cumbersome process of authenticating to AWS using Single Sign-On (SSO). It handles initial setup, interactive account selection, and credential management, ensuring secure and seamless access to your AWS resources without interrupting your workflow.

Core Features & Use Cases

  • SSO Configuration Wizard: Guides you through a simple first-run setup to configure your AWS SSO start URL and region if no existing configuration is found.
  • Credential Status Check: Quickly verifies the validity of your current AWS SSO credentials, informing you if a re-login is required.
  • Interactive Account Selection: Presents a user-friendly menu of all available AWS accounts within your organization, allowing you to easily select the target account for your session.
  • Automated SSO Login: Initiates the AWS SSO login flow, providing a device code URL for secure browser-based authentication, ideal for headless or containerized environments.
  • Identity Verification: Confirms successful authentication by displaying your AWS Account ID, ARN (Amazon Resource Name), and the user/role name associated with your session.
  • AWS CLI Profile Management: Automatically creates and updates your local AWS CLI profiles (~/.aws/config) to reflect your active SSO session, making subsequent AWS CLI commands and SDK usage seamless.

Quick Start

Use the aws-login skill to authenticate to my AWS sandbox account.

Frequently Asked Questions about aws-login

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate to AWS using SSO?

AWS SSO authentication streamlines login by guiding you through configuration, verifying credentials, and presenting interactive account selection. The Skill initiates the SSO login flow with device code URLs for secure browser-based authentication, then auto-creates AWS CLI profiles reflecting your active session.

Can I automate AWS login without manual credential entry?

Yes. Automated SSO login eliminates manual credential entry by initiating the device authorization flow and auto-detecting your management account via AWS Organizations. The Skill automatically creates and updates local AWS CLI profiles, making subsequent commands seamless.

What happens if my AWS SSO credentials expire?

The Skill includes credential status checking that verifies validity and informs you if re-login is required. When triggered, it reinitializes the SSO login flow without manual reconfiguration, using stored AWS_SSO_START_URL and AWS_DEFAULT_REGION environment variables.

How does this work in headless or containerized environments?

Device code authentication is ideal for headless setups. The Skill provides a secure browser-based URL for authentication outside the terminal, then persists credentials to ~/.aws/config as CLI profiles, enabling subsequent SDK and CLI usage without additional interaction.

Can I use this with multiple AWS accounts?

Yes. The Skill auto-discovers all available accounts within your organization, presents them in an interactive menu for easy selection, and creates per-account AWS CLI profiles with aliases. Parallel resource discovery with eight workers enables efficient multi-account workflows.

What environment setup do I need before using AWS SSO login?

You need Bash, AWS_SSO_START_URL, and AWS_DEFAULT_REGION environment variables configured. The Skill includes a setup wizard for first-run configuration and requires boto3, pyyaml, loguru, InquirerPy, rich, and requests dependencies.