LatchkeyLatchkey
← Docs

Stripe + Latchkey

Integration notes

Stripe secret keys are high impact. Encrypt them on device and require an explicit approve before any agent run sees them.

Typical env names

  • STRIPE_SECRET_KEY
  • STRIPE_WEBHOOK_SECRET

Setup

  1. Add test and live under clear names. latchkey add STRIPE_SECRET_KEY (use separate vault entries if you keep test and live on one machine)
  2. Allowlist per project. Only projects that truly need Stripe should list the name in .latchkey.toml
  3. Run billing scripts through the gate. latchkey run -- node scripts/stripe-task.mjs

Honest notes

  • The open-access scan detects Stripe live key shapes offline.
  • Latchkey checkout on this site is billed by Stitchaxis. Your own Stripe account stays yours.
  • Restricted keys (rk_) are safer than full secret keys when your integration allows them.

More tools: OpenAI · Anthropic · Cursor · Claude Code · Vercel · Supabase · GitHub. Pricing and licences: pricing.