Supabase + Latchkey
Integration notes
Service role and personal access material should not sit in plaintext .env files that agents can read wholesale.
Typical env names
SUPABASE_URLSUPABASE_ANON_KEYSUPABASE_SERVICE_ROLE_KEY
Setup
- Add only what the tool needs. Prefer anon keys for client-shaped work. Put service role keys behind approve and a tight .latchkey.toml
- Never commit vault files. Commit .latchkey.toml (names only). Keep ~/.latchkey off git
- Inject for local scripts. latchkey run -- npm run db:script (or your migration helper)
Honest notes
- Latchkey does not host your Supabase project or rotate Supabase keys.
- A careless approve still injects plaintext into the child. Scope service role names tightly.
- The offline scan looks for common key shapes; treat a finding as a rotate-and-purge job.
More tools: OpenAI · Anthropic · Cursor · Claude Code · Vercel · Stripe · GitHub. Pricing and licences: pricing.