The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Cleans up the password guide
Paul Copplestonecd4a75962027
diff --git a/web/docs/guides/database/extensions/pgtap.mdx b/web/docs/guides/database/extensions/pgtap.mdxindex 5205701a55f..6a2a4580fa4 100644--- a/web/docs/guides/database/extensions/pgtap.mdx+++ b/web/docs/guides/database/extensions/pgtap.mdx@@ -51,10 +51,10 @@ values={[```sql--- Example: enable the "pgtap" extension+-- Enable the "pgtap" extensioncreate extension pgtap;--- Example: disable the "pgtap" extension+-- Disable the "pgtap" extensiondrop extension pgtap;```diff --git a/web/docs/guides/database/password-reset.mdx b/web/docs/guides/database/managing-passwords.mdxsimilarity index 61%rename from web/docs/guides/database/password-reset.mdxrename to web/docs/guides/database/managing-passwords.mdxindex bd2e65eeae7..efeb10a3e98 100644--- a/web/docs/guides/database/password-reset.mdx+++ b/web/docs/guides/database/managing-passwords.mdx@@ -1,34 +1,27 @@----id: password-reset-title: "Reset Database Password"+id: managing-passwords+title: "Managing Database Passwords"description: How to change your PostgreSQL database password.---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-Your PostgreSQL database is the core of your Supabase project, so it's important that it has a strong, secure password at all times.+Your PostgreSQL database is the core of your Supabase project, so it's important that it has a strong, secure password at all times.+Your passwords should not contain of the following symbols:-Changing the password is easy, just make sure you choose a password that:--* **is very secure**-* does not contain of the following symbols: `: / ? # ] [ @ ! $ & ' ( ) * + , ; =`+`: / ? # ] [ @ ! $ & ' ( ) * + , ; =`Special symbols can conflict with connection string URLs, so it's best to avoid them. You can make a secure password using a longer string or a randomized set of upper and lowercase letters and digits.-### How do I create a secure password?--- use a password manager to generate it-- make a long password (10 characters at least)-- don't use any common dictionary words-- use both upper and lower case characters, numbers, and any symbols not in the list above+### Changing your project password-## Steps+When you created your project you were also asked to enter a password. This is actually the password for your database, specifically for the `postgres` user.+You can update this password from the Supabase Dashboard](https://supabase.io):-Issue the following statement in a SQL editor:+> @TODO: clean this up. Also we should generate a random passowrd in the code snippet below otherwise everyone will copy/paste the same password.-From the [Supabase Dashboard](https://supabase.io):- Home- Select a Project- SQL@@ -43,14 +36,20 @@ values={[<TabItem value="SQL">```sql-ALTER USER postgres WITH PASSWORD 'new_password';+alter user postgres+ with password 'new_password';```</TabItem></Tabs>-Be sure to remember your password or store it in a secure place.+## Creating a secure password++- use a password manager to generate it+- make a long password (10 characters at least)+- don't use any common dictionary words+- use both upper and lower case characters, numbers, and any symbols not in the list above## Resourcesdiff --git a/web/sidebars.js b/web/sidebars.jsindex f8517298f1f..a98086eea32 100755--- a/web/sidebars.js+++ b/web/sidebars.js@@ -111,10 +111,10 @@ module.exports = {collapsed: false,items: ['guides/database/full-text-search',- 'guides/database/arrays',- 'guides/database/json',- 'guides/database/password-reset',- 'guides/database/sql-to-api',+ // 'guides/database/arrays',+ // 'guides/database/json',+ // 'guides/database/managing-passwords',+ // 'guides/database/sql-to-api',{type: 'category',label: 'Extensions',