© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
11 replies
zach

How to automatically create API keys (non-legacy) for new branches

Hello! We've recently switched over from Legacy API Keys to the new API Keys on our Supabase project, but each time we create a new branch they only have Legacy API Keys generated (same for JWT keys) - we need to manually generate the new API Keys to continue using the branches.

Is there a way to configure our project settings to automatically switch off the legacy API/JWT keys for newly-created branches?
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

New Publishable API Keys vs. Legacy Anon Key
SupabaseSSupabase / help-and-questions
6mo ago
New API keys on preview branches not being auto-created
SupabaseSSupabase / help-and-questions
2mo ago
Can't rotate to new API keys - JS client fails when legacy keys disabled
SupabaseSSupabase / help-and-questions
2mo ago
Create API keys error....for new TWT Signing key setup
SupabaseSSupabase / help-and-questions
7mo ago