From c6abf2b2ba1d91722a1b4f1a19f1dee8464d471e Mon Sep 17 00:00:00 2001 From: Zsolt Parragi Date: Tue, 9 Jul 2024 10:46:14 +0100 Subject: [PATCH 1/3] Modified docker documentation --- documentation/docs/install.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/docs/install.md b/documentation/docs/install.md index 89f3a2f6..e0869b0c 100644 --- a/documentation/docs/install.md +++ b/documentation/docs/install.md @@ -70,7 +70,9 @@ Install `pg_tde` using one of available installation methods: docker run --name pg-tde -e POSTGRES_PASSWORD=mysecretpassword -d perconalab/pg_tde ``` - It builds and adds `pg_tde` extension to PostgreSQL 16. Relevant `postgresql.conf` and `tde_conf.json` are created in `/etc/postgresql/` inside the container. This directory is exposed as a volume. + It builds and adds `pg_tde` extension to PostgreSQL 16. The `postgresql.conf` contains the required modifications, and the extension is added to `template1` - with this, all new databases automatically have the `pg_tde` extension loaded. + + Keys are not created automatically, each database requires a key provider and a principal key before encrypted tables can be used. For that, see the instructions in the [Setup](setup.md) section, starting with the 4th point, as the first 3 steps are already completed in the docker image. See [Docker Docs](https://hub.docker.com/_/postgres) on usage. @@ -82,4 +84,4 @@ Install `pg_tde` using one of available installation methods: ## Next steps -[Setup](setup.md){.md-button} \ No newline at end of file +[Setup](setup.md){.md-button} From 9d8dc8c48bf4ce2d986f738556910b5b5ce13f49 Mon Sep 17 00:00:00 2001 From: Zsolt Parragi Date: Mon, 15 Jul 2024 08:01:48 +0100 Subject: [PATCH 2/3] Update documentation/docs/install.md Co-authored-by: Anastasia Alexandrova --- documentation/docs/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/install.md b/documentation/docs/install.md index e0869b0c..0a061af2 100644 --- a/documentation/docs/install.md +++ b/documentation/docs/install.md @@ -70,7 +70,7 @@ Install `pg_tde` using one of available installation methods: docker run --name pg-tde -e POSTGRES_PASSWORD=mysecretpassword -d perconalab/pg_tde ``` - It builds and adds `pg_tde` extension to PostgreSQL 16. The `postgresql.conf` contains the required modifications, and the extension is added to `template1` - with this, all new databases automatically have the `pg_tde` extension loaded. + It builds and adds `pg_tde` extension to PostgreSQL 16. The `postgresql.conf` contains the required modifications. The `pg_tde` extension is added to `template1` so that all new databases automatically have the `pg_tde` extension loaded. Keys are not created automatically, each database requires a key provider and a principal key before encrypted tables can be used. For that, see the instructions in the [Setup](setup.md) section, starting with the 4th point, as the first 3 steps are already completed in the docker image. From 4c9ff582a197c572d13622287e112ab724c0bf15 Mon Sep 17 00:00:00 2001 From: Zsolt Parragi Date: Mon, 15 Jul 2024 08:01:56 +0100 Subject: [PATCH 3/3] Update documentation/docs/install.md Co-authored-by: Anastasia Alexandrova --- documentation/docs/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/install.md b/documentation/docs/install.md index 0a061af2..48f1a562 100644 --- a/documentation/docs/install.md +++ b/documentation/docs/install.md @@ -72,7 +72,7 @@ Install `pg_tde` using one of available installation methods: It builds and adds `pg_tde` extension to PostgreSQL 16. The `postgresql.conf` contains the required modifications. The `pg_tde` extension is added to `template1` so that all new databases automatically have the `pg_tde` extension loaded. - Keys are not created automatically, each database requires a key provider and a principal key before encrypted tables can be used. For that, see the instructions in the [Setup](setup.md) section, starting with the 4th point, as the first 3 steps are already completed in the docker image. + Keys are not created automatically. You must configure a key provider and a principal key for each database where you wish to use encrypted tables. See the instructions in the [Setup](setup.md) section, starting with the 4th point, as the first 3 steps are already completed in the Docker image. See [Docker Docs](https://hub.docker.com/_/postgres) on usage.