AWS credentials and SSO profiles
CloudPouch reads the same local configuration files the AWS CLI uses — ~/.aws/credentials and ~/.aws/config — so profiles built on static credentials, IAM Identity Center (SSO), or source_profile role chaining work with CloudPouch unchanged. Connecting to an AWS account usually means selecting a profile you already have, not creating anything new.
Supported profile types
Section titled “Supported profile types”- Static IAM credentials in
~/.aws/credentials(access key and secret key). - AWS IAM Identity Center (SSO) profiles in
~/.aws/config, including the sharedsso-sessionformat where several profiles reference one session block. - Role-chaining profiles that assume a role via
source_profilein~/.aws/config.
The shared sso-session format is the practical choice when you analyze multiple AWS accounts behind one Identity Center start URL — one browser login covers every profile that references the session:
[sso-session my-company]sso_start_url = https://my-company.awsapps.com/startsso_region = eu-west-1
[profile prod]sso_session = my-companysso_account_id = 111111111111sso_role_name = ReadOnlyAccess
[profile dev]sso_session = my-companysso_account_id = 222222222222sso_role_name = ReadOnlyAccessSSO sign-in behavior
Section titled “SSO sign-in behavior”When you select an SSO profile whose session has expired or was never started, CloudPouch launches the browser-based AWS SSO sign-in flow automatically. If the browser authentication is not completed or the session is invalid, CloudPouch shows an error rather than silently continuing to display cost data from the previously active profile — so what you see always belongs to the profile you selected.
Switching between profiles
Section titled “Switching between profiles”Cost work usually spans accounts, so profile switching is a first-class action:
- Press
Cmd/Ctrl + Kto open the quick AWS profile switcher (Search AWS profiles…). - Type to filter by profile name, move with
Up/Down, select withEnter, close withEsc. - The switcher covers named profiles, SSO profiles, and role-chaining profiles alike.
- Edited
~/.aws/configwhile CloudPouch was open? Use the profile reload option to pick up new profiles without restarting.
If ~/.aws/credentials has no default profile, CloudPouch shows a welcome screen instead of failing on startup.
Setting up a profile for CloudPouch
Section titled “Setting up a profile for CloudPouch”- Configure the profile with the AWS CLI (
aws configureoraws configure sso). - Verify it can read the account you want to analyze — for example,
aws sts get-caller-identity --profile prod. - Open CloudPouch and select the profile.
The permissions attached to that profile are all CloudPouch gets — it needs read access only. See AWS read-only access for the model and AWS permissions for a ready-made policy.