Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Remove obsolete info on vault statement logging, fix stuido links to point to documentation not github.

Michel Pelletiere8c70485ab62
diff --git a/apps/docs/pages/guides/database/vault.mdx b/apps/docs/pages/guides/database/vault.mdx
index 052f009bd3d..3ac5bf84ce3 100644
--- a/apps/docs/pages/guides/database/vault.mdx
+++ b/apps/docs/pages/guides/database/vault.mdx
@@ -252,20 +252,6 @@ create_secret | cec9e005-a44d-4b19-86e1-febf3cd40619
Which roles should have access to the `vault.secrets` table should be carefully considered. There are two ways to grant access, the first is that the `postgres` user can explicitly grant access to the vault table itself.
-### Turning off Statement Logging
-
-When you insert secrets into the vault table with an INSERT statement, those statements get logged by default into the Supabase logs. Since this would mean your secrets are stored unencrypted in the logs, you should turn off statement logging while using the Vault.
-
-While turning off statement logging does hinder you if you're used to looking at the logs to debug your application, it provides a much higher level of security by ensuring that your data does not leak out of the database and into the logs. This is especially critical with encrypted column data, because the statement logs will contain the _unencrypted_ secrets. If you _must_ store that data encrypted, then you _must_ turn off statement logging.
-
-```sql
-alter system set statement_log = 'none';
-```
-
-And then restart your project from the dashboard to enable that change.
-
-In the future we are researching various ways to refine the way statement logging interacts with sensitive columns.
-
### Resources
- Read more about Supabase Vault in the [blog post](https://supabase.com/blog/vault-now-in-beta)
diff --git a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
index 3bc291cc295..01e4a6d527f 100644
--- a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
@@ -141,7 +141,7 @@ const EncryptionKeysManagement: FC<Props> = ({}) => {
</div>
</div>
<div className="flex items-center space-x-2">
- <Link href="https://github.com/supabase/vault">
+ <Link href="https://supabase.com/docs/guides/database/vault">
<a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Vault Documentation
diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
index 7c54f3784d8..e5dfe455fe0 100644
--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
@@ -104,7 +104,7 @@ const SecretsManagement: FC<Props> = ({}) => {
</div>
</div>
<div className="flex items-center space-x-2">
- <Link href="https://github.com/supabase/vault">
+ <Link href="https://supabase.com/docs/guides/database/vault">
<a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Vault Documentation