GitHub + Latchkey
Integration notes
PATs and fine-grained tokens belong in a vault with approve, not in a shared .env that every agent can read.
Typical env names
GITHUB_TOKENGH_TOKEN
Setup
- Add the token by name. latchkey add GITHUB_TOKEN (prefer fine-grained, least privilege)
- Local agent runs. latchkey run -- gh ... or your automation wrapper
- CI leak scan. In GitHub Actions, run npx -y @stitchaxis/latchkey@latest scan --ci (action.yml is shipped in the repo)
Honest notes
- Latchkey does not replace GitHub encrypted secrets for Actions inject. The CI path here is scan, not vault sync.
- The GitHub repo for Latchkey may be private; do not invent star counts. See /stats for live figures when public.
- Rotate any token that appears in a scan finding before you continue.
More tools: OpenAI · Anthropic · Cursor · Claude Code · Vercel · Supabase · Stripe. Pricing and licences: pricing.