signing-in-to-aws
Installation
SKILL.md
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, andaws --versionin the user's local shell, not via MCP/API tools. - You MUST ask the user for confirmation before running
aws loginoraws signup. Do not tell the user to run the command themselves. Ask if YOU should run it (e.g., "Ready for me to runaws login?" or "Shall I proceed withaws 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
The aws login command requires AWS CLI version 2.32.0 or later. The aws signup command, used only when the user says they have no AWS account, requires a newer release; the flow below checks for it.
Check the installed version:
aws --version