You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `pg_tde` extension introduces new command-line utilities and extends some existing PostgreSQL tools to support encrypted WAL and tables. These include:
3
+
The `pg_tde` extension introduces new command-line utilities and extends some existing PostgreSQL tools to support encrypted WAL and tables.
4
4
5
-
*[pg_tde_change_key_provider](../command-line-tools/pg-tde-change-key-provider.md): change encryption key provider for a database
6
-
*[pg_waldump](../command-line-tools/pg-waldump.md): inspect and decrypt WAL files
7
-
*[pg_checksums](../command-line-tools/pg-tde-checksums.md): verify data checksums (non-encrypted files only)
5
+
## New tools
6
+
7
+
*[pg_tde_change_key_provider](./pg-tde-change-key-provider.md): change encryption key provider for a database
8
+
*[pg_tde_archive_decrypt](./pg-tde-archive-decrypt.md): custom archive command for archiving plaintext WAL
9
+
*[pg_tde_restore_encrypt](./pg-tde-restore-encrypt.md): custome restore command for making sure restored WAL is encrypted
10
+
11
+
## Extended tools
12
+
13
+
*[pg_checksums](./pg-tde-checksums.md): verify data checksums (non-encrypted files only)
14
+
*[pg_waldump](./pg-waldump.md): inspect and decrypt WAL files
Helper command to archive WAL segments in an uncrypted form. This is necessary since the WAL encryption keys in the two-key hierarchy (see [Architecture](../architecture/architcture.md)) are specific to the host which generated them and may not be available at the machine which will replay the WAL.
4
+
5
+
The command wraps your normal archive command and creates a temporary file on a RAM disk in `/dev/shm` which is then fed as input to your archive command.
6
+
7
+
This command is often use in conjunction with [pg_tde_restore_encrypt](./pg-tde-restore-encrypt.md).
8
+
9
+
To use this safely make sure to encrypt the files stored in your WAL archive which is supported by e.g. PgBackRest.
0 commit comments