© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
9 replies
cheese

SUPABASE_ prefix in secret names

edge functions
My project has secrets with names like
SUPABASE_URL
SUPABASE_URL
and
SUPABASE_SERVICE_ROLE_KEY
SUPABASE_SERVICE_ROLE_KEY
which i used via
Deno.env.get()
Deno.env.get()
to initialize my supabase client in my edge functions.

I just tried to add a new key and it says
Name must not start with the SUPABASE_ prefix
Name must not start with the SUPABASE_ prefix
. I tried editing the previously saved keys with that prefix and they dropdown is disabled and hovering over the options says
This is a reserved secret and cannot be changed
This is a reserved secret and cannot be changed
.

What is the best way to store these secrets if not prefixing them with
SUPABASE_
SUPABASE_
and how can I remove the old ones once i adopt the new strategy?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase SECRET keeps coming back
SupabaseSSupabase / help-and-questions
6mo ago
Vault Secret & Supabase CLI help
SupabaseSSupabase / help-and-questions
13mo ago
How can I get JWT secret in local instance of supabase?
SupabaseSSupabase / help-and-questions
4y ago
Supabase Local With Supabase-py & Secret Key Not Working (Expected 3 parts in JWT; got 1)
SupabaseSSupabase / help-and-questions
5mo ago