Skip to content
offprompt

Supabase

An agent asks for one of these keys by its usual variable name, such as SUPABASE_SECRET_KEY, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "supabase/publishable_key" or the like.

A postgres_url field links here for someone who has no Postgres connection string yet: database.new.

The fields offprompt's page shows for Supabase, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
Secret keySUPABASE_SECRET_KEY, SUPABASE_SERVICE_ROLE_KEYprovider: "supabase/secret_key"
Publishable key, shown in the clearSUPABASE_PUBLISHABLE_KEY, SUPABASE_ANON_KEYprovider: "supabase/publishable_key"

Secret key

Made at supabase.com/dashboard/project/_/settings/api-keys. Looks like sb_secret_….

  • An sb_secret_ key, or the legacy service_role JWT

Publishable key

Made at supabase.com/dashboard/project/_/settings/api-keys. Looks like sb_publishable_….

  • An sb_publishable_ key, or the legacy anon JWT