Rotating Anon, Service, and JWT Secrets #20031
tylerfontaine
announced in
Troubleshooting
Replies: 2 comments
|
i've done exactly this but the regenerate button is gone and they are pushing new JWT keys on me?! i need to fix this quick and can't change everything else i just need new keys |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
Have you ever accidentally committed a service key to a public repo? Or maybe rotating keys is something you regularly do for security compliance.
Whatever the reason, here's how to rotate the keys for your Supabase project.
If you haven’t migrated to asymmetric JWT signing keys:
We recommend that you migrate to asymmetric JWT signing keys and publishable/secret API keys as it is no longer possible to rotate the legacy anon, service and JWT secrets.
You can view this Get Started guide for steps to migrate to asymmetric JWT signing keys.
If you have migrated to new symmetric JWT signing keys:
Further readings
All reactions