Every cloud account, one short alias away
The problem it solves
Section titled “The problem it solves”Several SSO portals, dozens of accounts with a few roles each, a personal account or two. From the terminal, that means remembering profile names, logging in again in the middle of your work, and digging through the portal just to open the console.
# Once per account and role: write profiles by handaws configure ssovim ~/.aws/config
# Every morning, and again when it expires mid-taskaws sso login --profile acme-prod
# Every command: the exact profile name and regionaws s3 ls --profile AdministratorAccess-123456789012 \ --region us-east-1# Once: sign in to each portal, name your accountscloudhop addcloudhop shell
# Switch the terminal to an account, type plain aws.# Expired session? It signs you in and carries on.cloudhop use acme-prodaws s3 lsaws ecs list-clustersTwo ways to work
Section titled “Two ways to work”Switch the terminal
The everyday way. Switch once and type plain aws,
Terraform or any SDK. Your prompt shows the alias, and a project’s
.cloudhoprc switches for you on cd.
cloudhop use acme-devaws ecs list-clusterscloudhop use acme-prodOne command at a time
For one-off commands in another account, or many accounts at once, without switching the terminal.
hop acme-qa ecs list-clusterscloudhop console acme-qa s3cloudhop each 'acme-*' -- s3 lsWhat you get
Section titled “What you get”Short aliases
Account, role and region in one word. They are real profiles in ~/.aws/config, so your other tools see them too.
Signs in only when needed
An expired session renews silently or opens your browser, then your command runs. Nothing runs in the background.
The console, already signed in
cloudhop console acme-dev s3 opens it straight away. No portal, no hunting for the account among twenty.
Production protection
Mark an alias as production: reads run, anything that may change resources asks first. Your prompt turns red.
Many accounts at once
Run one command across aliases by name, list, pattern or regex, in parallel, with every line tagged by alias.
Folders that know their account
A .cloudhoprc pins aliases to a project, so cd switches for you. You approve each file before it does anything.
Your AI assistant knows it
Claude Code, Kiro, Copilot, Cursor and Codex learn to ask which alias, run with hop and confirm before changes.
No access keys, ever
Only temporary credentials, from IAM Identity Center or aws login. Nothing to rotate, nothing to leak.
Terminal or browser
Prefer clicking? cloudhop ui opens a local page to add portals, pick accounts and change regions.
Every aws command you know, two ways
Section titled “Every aws command you know, two ways”acme-dev and acme-prod are example aliases: you name yours when you add
your accounts. Output, pipes, --query and exit codes behave exactly as
with aws.
| With the AWS CLI alone | Switching the terminal | Naming the alias in the command |
|---|---|---|
aws s3 ls --profile AdministratorAccess-123456789012 |
cloudhop use acme-prodaws s3 ls |
hop acme-prod s3 ls |
aws sts get-caller-identity --profile acme-prod |
aws sts get-caller-identity |
hop acme-prod |
aws logs tail /app --follow --profile acme-dev |
aws logs tail /app --follow |
hop acme-dev logs tail /app --follow |
AWS_PROFILE=acme-prod terraform plan |
terraform plan |
cloudhop exec acme-prod -- terraform plan |
After cloudhop use, every following command runs as that alias until you
switch again. hop <alias> affects only that one command.
Start in a minute
Section titled “Start in a minute”-
Install it (Node.js 20 or newer):
Terminal window npm install --global cloudhop -
Add your SSO portal or personal account: sign in, tick the accounts you want and give each a short alias.
Terminal window cloudhop add -
Set up your terminal, once. Then open a new one.
Terminal window cloudhop shell -
Switch to an account and use
awsas always (<alias>is a name you gave in step 2):Terminal window cloudhop use <alias>aws s3 ls
Learn more
Section titled “Learn more”Open source under Apache 2.0, published to npm with provenance from GitHub Actions. AWS today; Azure and Google Cloud are on the roadmap.