© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
3mo ago
•
2 replies
Parth220
Unable to rotate service role key anymore!
Hi I want to rotate the service role
, as I am terminating someone on my team who previously had access to it
.
In the past this doc
's instructions worked
:
https://supabase.com/docs/guides/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd
But now the new API Keys system does not allow me to rotate legacy keys
!
https://supabase.com/dashboard/project/__/settings/api-keys/new
Additionally doing a drop in replacement on supabase
-py for the supabase
_key where I used my service key returns a
supabase._async.client.SupabaseException: Invalid API key
supabase._async.client.SupabaseException: Invalid API key
error
!
Would really appreciate some help here
!
Supabase Docs | Troubleshooting | Rotating Anon, Service, and JWT S...
Supabase is the Postgres development platform providing all the backend features you need to build a product
.
Settings | Supabase
Supabase Studio
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
rotate legacy service role key?
S
Supabase / help-and-questions
4mo ago
How can I rotate the service role key
S
Supabase / help-and-questions
2mo ago
Alternative to service_role key?
S
Supabase / help-and-questions
3y ago
JWT Service Role Key
S
Supabase / help-and-questions
3d ago