stripe login list and login switch manage multiple profiles
Introduced 2026-03-21 · score 0.98
HOW TO USE IT
When testing against multiple logged-in Stripe accounts, run `stripe login list` to list saved accounts and identify the active one, then switch with `stripe login switch <account_name>`. The `[default]` profile remains active; switching backs it up under its display name, copies the target into `[default]`, and removes the target key.
stripe login liststripe login switch <account_name>WHY THIS HELPS
When maintaining or testing code against multiple logged-in Stripe accounts, inspect the saved profiles and switch the active account.
REQUIREMENTS AND LIMITATIONS
- Version: v1.38.0
- account_name (required): The account to switch to; exactly one positional argument is required.
- The `[default]` profile is always active.
- When switching, the current `[default]` profile is backed up using its display name as the key, the target profile is copied to `[default]`, and the old target key is removed.
FIRST-PARTY EVIDENCE
- https://github.com/stripe/stripe-cli/releases/tag/v1.38.0
- https://github.com/stripe/stripe-cli/pull/1433
- https://github.com/stripe/stripe-cli/blob/v1.38.0/pkg/cmd/login.go
Check the installed version and the source before using it. Entry JSON