Skip to content
aws avatar

Signing In To Aws

Sign-in and sign-up flow for AWS CLI and SDK credentials, with short-term credentials that rotate automatically.

CCM score
77 of 100
skills.sh installs
7.2K
GitHub stars
3.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers getting credentials via aws login, or aws signup for a developer without an AWS account, when a local shell needs access
  • Checks the CLI version (2.32.0 or later), current credentials with aws sts get-caller-identity, and whether aws signup exists before running anything
  • Requires confirmation before running either command and enforces the SignInLocalDevelopmentAccess policy for permission errors
  • Designed for developers who hit missing or expired credentials, or who ask how to set up AWS access or create an account

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill signing-in-to-aws -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Sign In — Get CLI/SDK Credentials

Help developers get AWS credentials for local development using aws login, or aws signup when they say they have no AWS account. Both open a browser flow that ends with short-term, auto-rotating credentials that refresh every 15 minutes and remain valid for up to 12 hours. A developer with no AWS account creates one in the same browser flow; the sign-in page routes new and existing customers to the right place, so you never need to ask whether they already have an account.

Important:

  • You MUST run aws login, aws signup, and aws --version in the user's local shell, not via MCP/API tools.
  • You MUST ask the user for confirmation before running aws login or aws signup. Do not tell the user to run the command themselves. Ask if YOU should run it (e.g., "Ready for me to run aws login?" or "Shall I proceed with aws login --profile staging?"). Wait for their response before proceeding.
  • The command waits for the whole browser flow, including account creation, which can take several minutes. Leave it running unless the user asks you to stop it or to run it again, for example with a different Region.

Prerequisites

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
DevOps & Cloud, CLI & Terminal
First seen
Jul 14, 2026

Questions

What does the signing-in-to-aws skill do?

It gets AWS credentials for CLI and SDK access by running aws login, which opens a browser flow that ends with short-term credentials that refresh every 15 minutes and stay valid for up to 12 hours. It also runs aws signup for a developer who has no AWS account, creating the account in the same flow.

When should an agent use the signing-in-to-aws skill?

It activates when a developer needs to authenticate to AWS for local development, when an AWS operation or AWS MCP Server tool fails due to missing or expired credentials, or when someone asks how to set up AWS access or create an AWS account. Phrases such as aws login, session expired, and no credentials also trigger it.

What does the signing-in-to-aws skill need before it can run?

It needs AWS CLI version 2.32.0 or later for aws login, and a newer release for aws signup. The agent checks the installed version with aws --version and asks the developer to install or update the CLI from the AWS CLI installation guide if it is missing or too old.

How do I install the signing-in-to-aws skill?

Run npx -y skills add aws/agent-toolkit-for-aws --skill signing-in-to-aws -y in a project. After that, the agent can use it to walk a developer through getting AWS credentials with aws login or creating an account with aws signup.

More from aws/agent-toolkit-for-aws

All 54

Similar to Signing In To Aws

More DevOps & Cloud