© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
4 replies
Diego

Missing secrets for secret and publishable keys

Given that we have publishable and secret API keys, and anon + service role API keys are legacy, shouldn't there be edge function secrets for these initialized by default?

Right now, only SUPABASE_ANON_KEY and SUPABASE_SERVICE_ROLE_KEY are there, and they contain the values of the legacy keys. If I want to use the new keys, I need to add secrets myself it seems

What is the guidance here? Also, any auth utilities available? Right now I'm doing this myself with a auth.ts I wrote, but not very comfortable with this setup...
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

secret_keys permissions
SupabaseSSupabase / help-and-questions
5w ago
Using Supabase Vault for Storing User Secrets and API Keys
SupabaseSSupabase / help-and-questions
7mo ago
Edge functions and new secret api keys
SupabaseSSupabase / help-and-questions
3mo ago
Are service role keys (old) and secret keys (new) equivalent?
SupabaseSSupabase / help-and-questions
5mo ago