© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4w ago•
3 replies
Bad Gifter

Migrate legacy JWT to new asymmetric keys - Self-hosted

self-hostedauthSolved🟡javascript
Hi, anyone know how to get a legacy supabase self-host to use the new asymmetric keys and keep the old anon / server-role keys active? I can't seem to find any docs or info on this. I assume I need to make new jwt keys for sbpublishable and sbsecret , but where to define these for the auth? ( docker or k8s ). Do they just replace the old env variable that anon and service_role use? if so, how to then define the anon and service_role for the deployment to still accept those? Considering I would then need to update my external postgres, and guess all the other services.

Any help or info would be great. thanks!
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

Do new JWT signing keys available in self hosted ?
SupabaseSSupabase / help-and-questions
4mo ago
JWT signing keys in self hosted instance ?
SupabaseSSupabase / help-and-questions
7mo ago
Migrating to new asymmetric keys (signing_keys) on local environment.
SupabaseSSupabase / help-and-questions
7mo ago
How do I issue a mint JWT with the new asymmetric API keys?
SupabaseSSupabase / help-and-questions
3mo ago