signing-in-to-aws

Configures short-term AWS CLI credentials using the aws login command.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dennisvink/yolomancer --skill signing-in-to-aws-dennisvink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: signing-in-to-aws
Source: https://github.com/dennisvink/yolomancer/tree/main/skills/aws/core-skills/signing-in-to-aws
Command: npx skills add https://github.com/dennisvink/yolomancer --skill signing-in-to-aws-dennisvink

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often hit missing or expired AWS credential errors when running CLI or SDK operations locally. This Skill guides the authentication flow using aws login, which provides short-term, auto-rotating credentials valid for up to 12 hours without manual key management. ## Core Features & Use Cases - Guided Authentication: Runs precondition checks (CLI version, current identity) and executes aws login with user confirmation. - Error Handling: Diagnoses common failures such as outdated CLI versions, browser issues, missing IAM permissions, and unsupported regions. - Use Case: A developer runs an AWS CLI command and gets an "AccessDeniedException" or "token expired" error. The Skill verifies the AWS CLI version, checks current credentials with aws sts get-caller-identity, and runs aws login to restore access. ## Quick Start Ask the assistant to set up AWS credentials for local development using aws login.

Frequently Asked Questions about signing-in-to-aws

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

FAQPage Schema
How do I get AWS credentials for local CLI development?

Run aws login with AWS CLI version 2.32.0 or later to get short-term credentials that auto-rotate every 15 minutes and remain valid for up to 12 hours. Verify success afterward with aws sts get-caller-identity.

What is the difference between aws login and aws sso login?

aws login provides short-term credentials for general local development, while aws sso login is for organizations using AWS IAM Identity Center with profiles configured in ~/.aws/config. If you have an existing SSO workflow, continue using aws sso login.

Why does aws login fail with a permission error?

The IAM identity needs the SignInLocalDevelopmentAccess managed policy attached to the user, role, or group. Root users do not need it. Ask your administrator to attach the policy, or attach it yourself if you have IAM permissions.

Does aws login work in GovCloud or China regions?

No, aws login is not available in AWS GovCloud (US) or AWS China regions. Users in these partitions should use aws configure with long-term access keys instead, though these are less secure since they never expire automatically.

What should I do if the browser does not open during aws login?

Use aws login --remote, which provides a URL and code for cross-device authentication. This is useful when working on a remote server or environment without a local browser.