Repository navigation
Releases
v0.8.0 — brand icons in status prompt
authgate prompt now renders a Nerd Font brand glyph per service instead of the text key (cf, stripe, vercel, gh, doctl, supabase, aws; sparkle/robot for claude/codex). Pass --labels or set AUTHGATE_PROMPT_LABELS=1 for the old text format. Requires a Nerd Font in your terminal.
v0.7.0 — prompt indicator
New `authgate prompt` command — a compact active-profile indicator for tmux status bars and shell prompts.
```sh
$ authgate prompt
cf:titan gh:personal stripe:personal vercel:titan
$ authgate prompt cf vercel
cf:titan vercel:titan
```
Reads only `~/.authgate/state.json` (no subprocesses), so it's safe to call on every status refresh. See the README for tmux and zsh `RPROMPT` wiring.
`brew upgrade authgate` to pick it up.
v0.6.0 — remove gcloud
Removes the `gcloud` service added in v0.5.0.
gcloud's native `gcloud config configurations` already handles multi-account switching well, and the curated-paths snapshot was extra maintenance surface without a clear win over the native workflow. `aws` remains supported.
Supported services: cf, stripe, vercel, gh, doctl, supabase, claude, codex, aws.
`brew upgrade authgate` to pick it up.
v0.5.0 — aws + gcloud
Two more services. Both have native multi-account (`aws --profile`, `gcloud config configurations`) that you should keep using when you want flag-based selection. authgate adds value when you want the unqualified `aws` / `gcloud` command to flip the active account wholesale (e.g., for shell sessions where passing `--profile` everywhere is friction).
- `aws`: snapshots `~/.aws/{config,credentials}`
- `gcloud`: snapshots a curated subset of `~/.config/gcloud/` (auth dbs, configurations, ADC) — deliberately skips the bundled `virtenv/` (~86 MB)
`brew upgrade authgate` to pick it up.
v0.4.0 — claude code + codex
Two more services added to the registry. Useful when you have multiple Anthropic or OpenAI accounts you flip between.
```sh
authgate claude add personal
authgate claude add work
authgate codex add personal
authgate codex add work
```
Snapshots are scoped to credentials only:
- `claude`: `
/.claude/.credentials.json` (NOT the rest of `/.claude/` — your settings, agents, MCP config, and projects don't change per account). - `codex`: `~/.codex/auth.json`.
Existing features (groups, top-level `authgate use`, rename, zsh completion) all work with the new services automatically.
`brew upgrade authgate` to pick it up.
v0.3.0 — supabase
Adds Supabase CLI to the supported services.
```sh
authgate supabase add personal
authgate supabase add work
authgate supabase use work
```
Works with all existing features — groups, top-level `authgate use `, rename. Snapshots `~/.supabase/access-token`.
`brew upgrade authgate` to pick it up.
v0.2.0 — groups and rename
Switch all services at once
Coordinated account switching — flip Cloudflare + Stripe + Vercel + GitHub between accounts with a single command.
```sh
authgate use titan
switching to profile 'titan'
cf → titan
stripe → titan
vercel → titan
(skipped: gh, doctl)
```
Convention-based by default — if you name profiles consistently across services, no setup needed. Any service with a profile named `` is included, the rest are skipped silently.
Explicit groups when profile names diverge:
```sh
authgate group create titan-mixed --cf=titan --vercel=7itantech --stripe=fullstack
authgate use titan-mixed
```
Rename profiles
```sh
authgate cf rename foo bar
```
Updates the active-profile marker and rewrites any explicit groups that referenced the old name.
Full changelog
- `authgate use ` — convention-based or group switch
- `authgate group list|show|create|rm` — manage explicit groups stored in `~/.authgate/groups.json`
- `authgate rename ` — rename a profile across markers + groups
- `authgate list` now also shows defined groups
- Zsh completion updated for all new verbs and dynamic group-name completion
`brew upgrade authgate` to pick it up.
v0.1.1 — zsh completion
- Ships zsh completion at
share/zsh/site-functions/_authgatevia the Homebrew formula - Dynamic completion of saved profile names for
authgate <svc> use <TAB>andrm <TAB> - Command / verb /
--forceflag completion
brew upgrade authgate to pick it up.
v0.1.0
Initial release of authgate — a CLI to switch user-level auth between named profiles for the developer tools you actually use.
What it does
Most CLIs (wrangler, stripe, vercel, gh, doctl) only support one logged-in session at a time. authgate snapshots each tool's on-disk auth state into named profiles and swaps them on demand. Inspired by vercelgate, generalized.
Install
```sh
Homebrew
brew install jbwashington/tap/authgate
pipx (any platform)
pipx install git+https://github.com/jbwashington/authgate
```
Supported services
cf— Cloudflare (wrangler + cloudflared)stripe— Stripe CLIvercel— Vercel CLIgh— GitHub CLIdoctl— DigitalOcean doctl
See README for usage and design notes.