Connect an AWS profile
CloudPouch reads your existing local AWS configuration — the same ~/.aws/credentials and ~/.aws/config files the AWS CLI uses — and supports the profile types listed below, so there is no separate credential setup and no pasting keys into the app. Credentials stay in your local ~/.aws files and are used to sign requests to AWS; you pick which profile to analyze. Some profiles that work in the AWS CLI need a different configuration for CloudPouch — see Credential helpers and role chains.
Select any screenshot to open it at full resolution.
Supported profile types
Section titled “Supported profile types”CloudPouch works with the credential patterns you likely already use with the AWS CLI:
- Static IAM user credentials in
~/.aws/credentials. - AWS SSO profiles in
~/.aws/config(IAM Identity Center). - Shared
sso-sessionblocks referenced by multiple profiles — the AWS CLI’s newer SSO format. - Role-chaining profiles that assume a role via
source_profile. aws loginprofiles created by the AWS CLI’s browser-based sign-in. No access keys, no IAM Identity Center setup — these need AWS CLI 2.32.0 or newer, since that is the CLI that creates the sign-in session.- Credential helper profiles that fetch credentials from an external command through
credential_process, whether that is an off-the-shelf credential helper or your own corporate one. CloudPouch runs whatever command the profile names, so no AWS CLI is needed for these at all.
Role chains work on top of helper-backed and aws login-backed profiles too, as long as no MFA token code is involved. A few profile shapes stay outside that scope: Credential helpers and role chains lists the unsupported profile shapes and the workarounds available for some of them.
If you have no default profile in ~/.aws/credentials, CloudPouch shows a welcome screen on startup until a usable profile is available. You do not need an ~/.aws/credentials file at all — profiles defined only in ~/.aws/config, which is where aws login and credential_process profiles live, are enough.
AWS SSO configuration
Section titled “AWS SSO configuration”CloudPouch supports the AWS CLI’s SSO session sharing format: define one sso-session block and reference it from as many profiles as you need. When you select an SSO profile whose session has expired or was never started, CloudPouch launches the browser-based AWS SSO sign-in automatically — complete it in your browser and CloudPouch picks up the session.
Sample ~/.aws/config
Section titled “Sample ~/.aws/config”[profile my-dev-profile]sso_session = my-ssosso_account_id = 123456789011sso_role_name = readOnlyregion = us-west-2
[profile my-other-profile]sso_session = my-ssosso_account_id = 555555555555sso_role_name = readOnlyregion = us-west-2
[sso-session my-sso]sso_region = us-east-1sso_start_url = https://my-sso-portal.awsapps.com/startsso_registration_scopes = sso:account:accessFor full details, see the AWS CLI SSO guide or Simplified Configuration of SSO Profiles in AWS CLI Using SSO Sessions.
Selecting and switching profiles
Section titled “Selecting and switching profiles”Use this workflow when you want to analyze a different AWS account. The profile picker changes the active analysis context.
- Press
Cmd/Ctrl + Kin the main CloudPouch window. - Type part of the profile name to narrow the results.
- Select the matching result, or use the arrow keys and Enter.
- Open Billing, Savings, or Compare for that profile and check the period before reading its results.
The quick picker shown above is for selecting an account. Typing moje narrows this example list to seven matching profiles.
You can also select a visible profile in the main window’s sidebar. Switching profiles does not require signing out of another AWS account; an expired session may require authentication for the profile you select.
Hide or restore profiles in the lists
Section titled “Hide or restore profiles in the lists”Use this separate workflow to keep the sidebar and quick picker manageable. It takes place in the Settings dialog.
- Open the header’s gear menu and choose Settings.
- Select Profiles in the Settings navigation.
- Search for the profile you want to manage.
- Choose Hide → in the Visible column, or ← Show in the Hidden column.
- Close Settings. Use the sidebar or
Cmd/Ctrl + Kwhen you want to select an account for analysis.
The Profiles settings screenshot shows this management screen. Visibility is a CloudPouch display preference: hiding a profile leaves its AWS configuration and permissions intact.
Reload profiles after an external configuration change
Section titled “Reload profiles after an external configuration change”If you added or edited a profile outside CloudPouch while the app was running, use Reload AWS Profiles in the sidebar, or Cmd + R on macOS / Ctrl + R on Windows and Linux. This refreshes profile discovery; it does not switch accounts or refresh billing costs. Your current view and running scan survive the reload.
What permissions the profile needs
Section titled “What permissions the profile needs”CloudPouch needs read access to billing data and resource metadata for the Cost Insights you run — it never creates, modifies, or deletes AWS resources. A profile you already use for read-only auditing usually works. For a precise policy, see AWS permissions or follow Create a CloudPouch IAM policy.
If a bulk Cost Insights run hits missing permissions, CloudPouch does not silently show empty results: it reports the affected AWS service, region, API operation, and error code (such as AccessDenied), so you can tell “nothing to optimize” apart from “could not check”.
If sign-in fails
Section titled “If sign-in fails”- Invalid or expired SSO session — CloudPouch shows an error message; re-run the browser authentication for that profile.
- SSO sign-in not completed — if you abandon the browser flow, CloudPouch will not show another profile’s data in its place; select the profile again and finish the sign-in.
- Expired
aws loginsession — CloudPouch names the profile and shows theaws login --profile <name>command to run. Run it, then continue where you were. - The credential helper failed — CloudPouch names the failure category, such as a missing helper or a locked keychain, rather than a generic credentials error. See Credential helpers and role chains.
- The profile shape is not supported — see AWS credentials and SSO profiles.
- More cases in Troubleshooting.
