From 170b17e9d4ed3108f07c10a263566c60c670fc38 Mon Sep 17 00:00:00 2001 From: Inian Date: Tue, 18 Jul 2023 15:25:46 +0800 Subject: [PATCH 1/2] feat: update ssl enforcement docs setting can be managed via the dashboard now --- apps/docs/pages/guides/platform/ssl-enforcement.mdx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/docs/pages/guides/platform/ssl-enforcement.mdx b/apps/docs/pages/guides/platform/ssl-enforcement.mdx index 2f9162da44b..eb731379277 100644 --- a/apps/docs/pages/guides/platform/ssl-enforcement.mdx +++ b/apps/docs/pages/guides/platform/ssl-enforcement.mdx @@ -7,7 +7,7 @@ export const meta = { -Postgres SSL Enforcement is currently in beta and is slowly being made available to all projects. [Contact support](https://supabase.com/dashboard/support/new) if you'd like to request early access. +Postgres SSL Enforcement is currently in beta. Some projects need to [upgrade](https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects#upgrade-your-project) to the latest version to use this feature. @@ -15,13 +15,19 @@ Your Supabase project supports connecting to the Postgres DB without SSL enabled SSL enforcement only applies to connections to both Postgres and PgBouncer ("Connection Pooler"); all HTTP APIs offered by Supabase (e.g., PostgREST, Storage, Auth) automatically enforce SSL on all incoming connections. +## Manage SSL enforcement via the Dashboard + +SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://app.supabase.com/project/_/settings/database) of the dashboard. + +## Manage SSL enforcement via the CLI + To get started: 1. [Install](/docs/guides/cli) the Supabase CLI 1.37.0+. 1. [Log in](/docs/guides/getting-started/local-development#log-in-to-the-supabase-cli) to your Supabase account using the CLI. 1. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project that you are enabling SSL enforcement. -## Check enforcement status +### Check enforcement status You can use the `get` subcommand of the CLI to check whether SSL is currently being enforced: @@ -37,7 +43,7 @@ Or similarly, if SSL is not being enforced, you will see: SSL is *NOT* being enforced. ``` -## Update enforcement +### Update enforcement The `update` subcommand is used to change the SSL enforcement status for your project: From ce55d07a3caab7eabc64f248f5a7a0ec65067145 Mon Sep 17 00:00:00 2001 From: Inian Date: Thu, 20 Jul 2023 14:59:40 +0800 Subject: [PATCH 2/2] fix links Co-authored-by: Greg Richardson --- apps/docs/pages/guides/platform/ssl-enforcement.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/pages/guides/platform/ssl-enforcement.mdx b/apps/docs/pages/guides/platform/ssl-enforcement.mdx index eb731379277..61ea6fa8ad5 100644 --- a/apps/docs/pages/guides/platform/ssl-enforcement.mdx +++ b/apps/docs/pages/guides/platform/ssl-enforcement.mdx @@ -7,7 +7,7 @@ export const meta = { -Postgres SSL Enforcement is currently in beta. Some projects need to [upgrade](https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects#upgrade-your-project) to the latest version to use this feature. +Postgres SSL Enforcement is currently in beta. Some projects need to [upgrade](/docs/guides/platform/migrating-and-upgrading-projects#upgrade-your-project) to the latest version to use this feature. @@ -17,7 +17,7 @@ SSL enforcement only applies to connections to both Postgres and PgBouncer ("Con ## Manage SSL enforcement via the Dashboard -SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://app.supabase.com/project/_/settings/database) of the dashboard. +SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://supabase.com/dashboard/project/_/settings/database) of the dashboard. ## Manage SSL enforcement via the CLI