Skip to content

How to switch between AWS accounts without logging in and out

For cost review, you can take the browser out of account switching entirely: CloudPouch switches between AWS accounts with Cmd/Ctrl + K — a local profile switch that takes seconds, keeps every account in the same desktop app and the same layout, works across accounts from completely different AWS organizations, and needs no Console session and no view rebuilt per account.

Why switching accounts in the browser is slow

Section titled “Why switching accounts in the browser is slow”

The AWS Console can hold more than one account session: since January 2025 you can turn on multi-session support and stay signed in to up to five identities — root, IAM, or federated roles — in a single browser, each in its own tab. That caps out quickly. Past five identities you are back to signing out and back in, or to juggling incognito windows, browser containers, and separate browser profiles; and with IAM Identity Center each new account still means entering through the access portal and picking the account and role again.

For cost work specifically, signing in is only half the cost. Cost Explorer doesn’t carry your setup across accounts: in every account you navigate back to it and rebuild the view — date range, granularity, grouping, filters — from scratch. Multiply that by a handful of accounts and a routine cost check turns into many minutes of clicking, most of it just getting to the data. And when the accounts belong to different organizations — several clients, or a personal account plus a work account — there is no consolidated view that could save you: each organization is a separate world with separate logins.

CloudPouch runs on your desktop and reads the same ~/.aws/config and ~/.aws/credentials files as the AWS CLI. Every profile CloudPouch resolves is one entry in the switcher — and switching between them is local:

  1. Press Cmd/Ctrl + K. A command palette labeled Search AWS profiles… opens.
  2. Type part of the profile name to filter, Up/Down to navigate, Enter to switch.
  3. You are looking at the other account’s cost data — same app, same layout, no login page, no view to rebuild.

The switcher lists named profiles with static credentials, AWS SSO profiles, aws login profiles, credential_process helper profiles such as aws-vault, and role-chaining profiles that use source_profile. Some profile shapes that work in the AWS CLI need a different configuration for CloudPouch: Credential helpers and role chains lists them. Accounts from different organizations sit next to each other in the same list; switching between them is no different from switching between two accounts of the same organization.

A profile switch is not an authentication bypass — each profile still needs valid credentials. In practice this stays out of your way:

  • Static credentials and supported role chains can be reused while their credentials remain valid.
  • SSO profiles reuse an active session. If you define one sso-session block in ~/.aws/config and reference it from many profiles, a single browser sign-in covers all of them until the session expires.
  • When an SSO session has expired, CloudPouch launches the browser sign-in automatically; complete it once and you’re back in the app.
  • aws login profiles hold a console sign-in session that lasts up to 12 hours. When it expires, CloudPouch shows the exact aws login --profile <name> command to run.
  • credential_process helper profiles get fresh short-lived credentials from their helper whenever the old ones expire.

So the browser appears once per SSO session — not once per account switch.

CloudPouch is an AWS cost analysis app, so this fast switching covers cost and resource review: spend charts, service drill-downs, and Cost Insights that scan an account for savings opportunities. If you need to administer resources in many accounts, you still need the console or the CLI — but if the reason you keep re-logging is “what is this account spending?”, the whole loop fits in CloudPouch. For the full account-after-account review workflow, see How to review costs across many AWS accounts.