Use of new API keys (replacing legacy JWT base anon and service role keys): Changes needed? When? #40300
-
|
Based on the discussion on 'Upcoming changes to Supabase API Keys' https://github.com/orgs/supabase/discussions/29260 I am looking into the need to make changes to my project and the timing to implement these changes for switching from anon (JWT) to I have 2 questions
It sounds straight forward: "For the most part, you can substitute the sb_publishable_... and sb_secret_... values anywhere you used the anon and service_role keys respectively. They work roughly the same in terms of permissions and data access." Or I might be missing something more fundamental. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
The anon and service_role Edge function secrets become the publishable and secret keys when you switch to the new keys. |
Beta Was this translation helpful? Give feedback.
The anon and service_role Edge function secrets become the publishable and secret keys when you switch to the new keys.