From 3ffaffc0ed8295fc8d52fbaba5088eccabefecb2 Mon Sep 17 00:00:00 2001 From: Kang Ming Date: Tue, 8 Oct 2024 22:27:07 +0800 Subject: [PATCH] docs: replace with LegacyApiKeys component --- apps/docs/components/MDX/database_setup.mdx | 2 +- apps/docs/components/MDX/kotlin_project_setup.mdx | 4 ++-- apps/docs/components/MDX/project_setup.mdx | 4 ++-- apps/docs/content/guides/api/api-keys.mdx | 2 +- apps/docs/content/guides/api/creating-routes.mdx | 4 ++-- apps/docs/content/guides/auth/auth-anonymous.mdx | 2 +- .../content/guides/getting-started/tutorials/with-angular.mdx | 2 +- .../getting-started/tutorials/with-expo-react-native.mdx | 2 +- .../guides/getting-started/tutorials/with-ionic-angular.mdx | 2 +- .../guides/getting-started/tutorials/with-ionic-react.mdx | 2 +- .../guides/getting-started/tutorials/with-ionic-vue.mdx | 2 +- .../content/guides/getting-started/tutorials/with-nextjs.mdx | 2 +- .../content/guides/getting-started/tutorials/with-nuxt-3.mdx | 2 +- .../content/guides/getting-started/tutorials/with-react.mdx | 2 +- .../guides/getting-started/tutorials/with-redwoodjs.mdx | 2 +- .../content/guides/getting-started/tutorials/with-refine.mdx | 2 +- .../content/guides/getting-started/tutorials/with-solidjs.mdx | 2 +- .../content/guides/getting-started/tutorials/with-svelte.mdx | 2 +- .../content/guides/getting-started/tutorials/with-swift.mdx | 2 +- .../content/guides/getting-started/tutorials/with-vue-3.mdx | 2 +- apps/docs/content/guides/realtime/broadcast.mdx | 2 +- apps/docs/content/guides/realtime/presence.mdx | 2 +- 22 files changed, 25 insertions(+), 25 deletions(-) diff --git a/apps/docs/components/MDX/database_setup.mdx b/apps/docs/components/MDX/database_setup.mdx index 314b27e4829..00f86699a84 100644 --- a/apps/docs/components/MDX/database_setup.mdx +++ b/apps/docs/components/MDX/database_setup.mdx @@ -15,4 +15,4 @@ Your database will be available in less than a minute. You can find your project credentials inside the project [settings](https://supabase.com/dashboard/project/_/settings/), including: - [Database credentials](https://supabase.com/dashboard/project/_/settings/database): connection strings and connection pooler details. -- [API credentials](https://supabase.com/dashboard/project/_/settings/database): your serverless API URL and / `service_role` keys. +- [API credentials](https://supabase.com/dashboard/project/_/settings/database): your serverless API URL and / `service_role` keys. diff --git a/apps/docs/components/MDX/kotlin_project_setup.mdx b/apps/docs/components/MDX/kotlin_project_setup.mdx index 594898ccd71..39fa99802dc 100644 --- a/apps/docs/components/MDX/kotlin_project_setup.mdx +++ b/apps/docs/components/MDX/kotlin_project_setup.mdx @@ -40,10 +40,10 @@ Now we are going to set up the database schema. You can just copy/paste the SQL ### Get the API Keys Now that you've created some database tables, you are ready to insert data using the auto-generated API. -We just need to get the Project URL and key from the API settings. +We just need to get the Project URL and key from the API settings. 1. Go to the [API Settings](https://app.supabase.com/project/_/settings/api) page in the Dashboard. -2. Find your Project `URL`, , and `service_role` keys on this page. +2. Find your Project `URL`, , and `service_role` keys on this page. ### Set up Google Authentication diff --git a/apps/docs/components/MDX/project_setup.mdx b/apps/docs/components/MDX/project_setup.mdx index fcd16b3e9fa..997633e362c 100644 --- a/apps/docs/components/MDX/project_setup.mdx +++ b/apps/docs/components/MDX/project_setup.mdx @@ -62,7 +62,7 @@ supabase migration new user_management_starter ### Get the API Keys Now that you've created some database tables, you are ready to insert data using the auto-generated API. -We just need to get the Project URL and key from the API settings. +We just need to get the Project URL and key from the API settings. 1. Go to the [API Settings](https://supabase.com/dashboard/project/_/settings/api) page in the Dashboard. -1. Find your Project `URL`, , and `service_role` keys on this page. +1. Find your Project `URL`, , and `service_role` keys on this page. diff --git a/apps/docs/content/guides/api/api-keys.mdx b/apps/docs/content/guides/api/api-keys.mdx index dbdb537cf25..c9c0f669706 100644 --- a/apps/docs/content/guides/api/api-keys.mdx +++ b/apps/docs/content/guides/api/api-keys.mdx @@ -4,7 +4,7 @@ title: 'Understanding API Keys' description: 'Securing your Data API with Postgres Row Level Security.' --- -Supabase provides 2 default keys when you create a project: a key, and a `secret` key. You can find both keys in the [API Settings](https://supabase.com/dashboard/project/_/settings/api). +Supabase provides 2 default keys when you create a project: a key, and a key. You can find both keys in the [API Settings](https://supabase.com/dashboard/project/*/settings/api). The data APIs are designed to work with Postgres Row Level Security (RLS). These keys map to the following Postgres roles: diff --git a/apps/docs/content/guides/api/creating-routes.mdx b/apps/docs/content/guides/api/creating-routes.mdx index bf9ab016769..0fd29b439b9 100644 --- a/apps/docs/content/guides/api/creating-routes.mdx +++ b/apps/docs/content/guides/api/creating-routes.mdx @@ -54,7 +54,7 @@ Every Supabase project has a unique API URL. Your API is secured behind an API g 1. Go to the [Settings](https://supabase.com/dashboard/project/_/settings/general) page in the Dashboard. 2. Click **API** in the sidebar. -3. Find your API `URL`, , and `service_role` keys on this page. +3. Find your API `URL`, , and `service_role` keys on this page.