← All articles

Key takeaways

  • The anon/publishable key is meant to be public — don't waste effort hiding it.
  • The service_role key bypasses RLS and must stay server-only.
  • Your RLS policies, not key secrecy, are what protect your data.

Scan your app for these issues — free

Paste your URL and get a graded report with copy-paste fixes in about 30 seconds.

Run a free scan

Keep reading