Files
supabase/apps/docs/content/_partials/api_keys_deprecation.mdx
Firdaws Farukh af75c3f8d9 Change deprecation notice in docs to mention early 2027 (#54052)
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.
2026-11-25 18:27:32 +03:00

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>