mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
A notice was added in the Project's Settings -> API Keys page via [pull request 52250](https://github.com/supabase/supabase/pull/52250) that mentions `Legacy API keys will be retired in early 2027` but the notice in the docs still mentions `Supabase is deprecating the anon and service_role keys by the end of 2026`. This pull request updates the docs to be consistent with the Dashboard UI to avoid confusion.
8 lines
678 B
Plaintext
8 lines
678 B
Plaintext
<Admonition type="deprecation" title="Changes to API keys">
|
|
|
|
Supabase is deprecating the `anon` and `service_role` keys in early 2027. Use the publishable (`sb_publishable_xxx`) and secret (`sb_secret_xxx`) keys instead. For the reasoning behind the change, see [the announcement on GitHub](https://github.com/orgs/supabase/discussions/29260).
|
|
|
|
In most cases you can get keys from your project's [**Connect** dialog](/dashboard/project/\_?showConnect=true&connectTab={{ .tab }}&framework={{ .framework }}). For every way to retrieve a key, including the CLI and the Management API, refer to [Find your keys](/docs/guides/getting-started/api-keys#find-your-keys).
|
|
|
|
</Admonition>
|