The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update images and fix tce title.
Michel Pelletier84a70ece4123
diff --git a/apps/docs/pages/guides/database/column-encryption.mdx b/apps/docs/pages/guides/database/column-encryption.mdxindex 1e2ec672df2..844f294b3c0 100644--- a/apps/docs/pages/guides/database/column-encryption.mdx+++ b/apps/docs/pages/guides/database/column-encryption.mdx@@ -1,8 +1,8 @@import Layout from '~/layouts/DefaultGuideLayout'export const meta = {- id: 'storage',- title: 'Storage',+ id: 'column-encryption',+ title: 'Column Encryption',description: 'Use Supabase to store and serve files.',sidebar_label: 'Overview',video: 'https://www.youtube.com/v/J9mTPY8rIXE',@@ -18,11 +18,11 @@ Our recent [blog post](/blog/transparent-column-encryption-with-postgres) descriIn the “New Column” flow on the Dashboard, you can select that a `text` or `bytea` column is encrypted, and select an existing key id or create a new one. This is functionally identical to the Vault above, but you can apply it to any of your existing tables. In a sense the Vault is a pre-created table and UI for you to get started quickly storing secrets, and to be a centralized point for “global” secrets management, but your not stuck with just that, you can encrypt multiple columns in multiple tables, how you want to store your secret data can be entirely up to you.-+Once you've setup an encrypted column, just insert data into the table like you would any other table. If you put in an email address for example, you will see that what is stored is not an email at all, but an encrypted value.-+Decrypted data can be accessed by a special view that is automatically created whenever you create an encrypted column on a table. This view decrypts the data row-by-row as you access it. By default this view is called `decrypted_<your-table-name>`, so in the example provided, the decryption view for the `profiles` table is `decrypted_profiles`. In addition to the existing `emails` column, there is a new column in the view called `decrypted_emails` that contains the decrypted email value. It's that simple!@@ -257,7 +257,7 @@ nonce | \x300a14aa721184ff7cf0f6bf088da267Notice how there is a new column called `decrypted_secret`. This column is not stored in database or on disk at all, it is generated “on-the-fly” as you select from the view. Database dumps do not contain this information, only the view itself, and most importantly, **raw decryption keys are never stored**.-+- Read more about Supabase Vault in the [blog post](https://supabase.com/blog/vault-now-in-beta)- [Supabase Vault on GitHub](https://github.com/supabase/vault)diff --git a/apps/docs/public/img/guides/database/og-vault.png b/apps/docs/public/img/guides/database/og-vault.pngnew file mode 100644index 00000000000..71ff756fef8Binary files /dev/null and b/apps/docs/public/img/guides/database/og-vault.png differdiff --git a/apps/docs/public/img/guides/database/vault-decrypted-data.png b/apps/docs/public/img/guides/database/vault-decrypted-data.pngnew file mode 100644index 00000000000..e802f9d1ef3Binary files /dev/null and b/apps/docs/public/img/guides/database/vault-decrypted-data.png differdiff --git a/apps/docs/public/img/guides/database/vault-encrypted-data.png b/apps/docs/public/img/guides/database/vault-encrypted-data.pngnew file mode 100644index 00000000000..631536c56faBinary files /dev/null and b/apps/docs/public/img/guides/database/vault-encrypted-data.png differdiff --git a/apps/docs/public/img/guides/database/vault-encrypting-columns.png b/apps/docs/public/img/guides/database/vault-encrypting-columns.pngnew file mode 100644index 00000000000..2a2c487eaa7Binary files /dev/null and b/apps/docs/public/img/guides/database/vault-encrypting-columns.png differdiff --git a/apps/docs/public/img/guides/database/vault-hello-compressed.mp4 b/apps/docs/public/img/guides/database/vault-hello-compressed.mp4new file mode 100644index 00000000000..48395586435Binary files /dev/null and b/apps/docs/public/img/guides/database/vault-hello-compressed.mp4 differ