← Back to home

Supabase

Keep a Supabase project's secrets (Edge Function secrets) in sync with a MeowPass vault — automatically on every change. This is the recommended path for Lovable, v0, Bolt, and other builders whose apps use Supabase.

Connect

Create a Supabase access token (Account → Access Tokens), then connect it. Your project_ref is in the project URL/settings.

Connect (authenticated)
curl -X POST https://api.meowpass.dev/integrations/supabase/connect \ -H "Authorization: Bearer $MEOWPASS_TOKEN" \ -d '{"token":"sbp_..."}'

Auto-sync (on change)

Map a vault environment to a Supabase project once. Every secret change is then upserted to the project's secrets automatically (delete removes it).

Map a vault env → a Supabase project
curl -X PATCH https://api.meowpass.dev/integrations/<integration-id>/mappings \ -H "Authorization: Bearer $MEOWPASS_TOKEN" \ -d '{"project_mappings":[ {"vault_id":"<vault>","env":"production","project_ref":"<project-ref>"} ]}' # Writes now sync: mp set STRIPE_KEY sk_live_... --env production # → Supabase project secret

Using MeowPass with Lovable

Lovable apps typically use Supabase for their backend. Store your keys in MeowPass, map the vault to your Supabase project, and they flow to your Edge Functions automatically — no keys pasted into the builder. If your Lovable app deploys to Netlify or Vercel instead, use those connectors.