# Anon key

> An anon key is the public API key of a Supabase project, designed to be shipped in browser code, which gives a visitor only the access that row-level security policies allow.

Source https://rareagentics.com/glossary/anon-key

## Why does it matter to a buyer?

Because anyone can read it in the page source, it is not a secret and it protects nothing by itself. Row-level security has to be switched on for every table, or the key lets any visitor reach the data. Supabase now calls the newer form of this key a publishable key.

## An example

For example, a visitor can copy the anon key from a site and query the database directly, so a table without row-level security is readable by anyone who tries.

## Related terms

- [Row-level security](https://rareagentics.com/glossary/row-level-security)
- [Service role key](https://rareagentics.com/glossary/service-role-key)
- [Secret key](https://rareagentics.com/glossary/secret-key)
- [Environment variable](https://rareagentics.com/glossary/environment-variable)

---

Rare Agentics is a UK software and AI agent engineering firm based in London. Rare Agentics Limited, company number 17494524. Contact hello@rareagentics.com or https://rareagentics.com/contact. Book a call at https://rareagentics.com/book-a-call.
