Skip to content

Every cloud account, one short alias away

Sign in to your AWS SSO portals and personal accounts once. cloudhop gives each account and role a short alias, signs you in again only when a session has expired, and never stores access keys.

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.

Without cloudhop
# Once per account and role: write profiles by hand
aws configure sso
vim ~/.aws/config
# Every morning, and again when it expires mid-task
aws sso login --profile acme-prod
# Every command: the exact profile name and region
aws s3 ls --profile AdministratorAccess-123456789012 \
--region us-east-1
With cloudhop
# Once: sign in to each portal, name your accounts
cloudhop add
cloudhop shell
# Switch the terminal to an account, type plain aws.
# Expired session? It signs you in and carries on.
cloudhop use acme-prod
aws s3 ls
aws ecs list-clusters

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-dev
aws ecs list-clusters
cloudhop use acme-prod

One 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-clusters
cloudhop console acme-qa s3
cloudhop each 'acme-*' -- s3 ls

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.

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-prod
aws 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.

  1. Install it (Node.js 20 or newer):

    Terminal window
    npm install --global cloudhop
  2. Add your SSO portal or personal account: sign in, tick the accounts you want and give each a short alias.

    Terminal window
    cloudhop add
  3. Set up your terminal, once. Then open a new one.

    Terminal window
    cloudhop shell
  4. Switch to an account and use aws as always (<alias> is a name you gave in step 2):

    Terminal window
    cloudhop use <alias>
    aws s3 ls

Open source under Apache 2.0, published to npm with provenance from GitHub Actions. AWS today; Azure and Google Cloud are on the roadmap.