Supabase · Environment Variable
SUPABASE_SERVICE_ROLE_KEY
Supabase is replacing the legacy anon and service_role keys with publishable and secret keys. Use publishable keys in client apps and secret keys in backend code, including Edge Functions.
Last updated
Syntax
SUPABASE_SECRET_KEYS=<JSON object>
headers: { apikey: <key> }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
anonservice_roleSUPABASE_PUBLISHABLE_KEYSSUPABASE_SECRET_KEYSSUPABASE_ANON_KEYSUPABASE_SERVICE_ROLE_KEY@supabase/serververify_jwt