© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4d ago•
2 replies
TsaTsa

How to use the secret key

RLS
Images attached on what I did to use the SECRET_KEY but when I try fetching using it, it doesn't bypass the RLS and just let me fetch my own data.

Currently the table that I am fetching only has the rls for fetchin gown user data, do you think I also need to add the service_role target to let this adminClient work? TYIA
image.png
image.png
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

not sure how to use new api secret key
SupabaseSSupabase / help-and-questions
6mo ago
HOW TO USE JWT SECRET
SupabaseSSupabase / help-and-questions
5mo ago
Edgefunction Secret key
SupabaseSSupabase / help-and-questions
6mo ago
Secret Access Key
SupabaseSSupabase / help-and-questions
3y ago