Skip to content

Commit f0f9601

Browse files
Manually wrapped long commands
1 parent 14ebf5d commit f0f9601

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

product_docs/docs/tde/15/encrypted_files/wal_files.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Alternatively, you can set the `PGDATAKEYUNWRAPCMD` environment variable before
4141
This example uses `pg_waldump` to display the WAL log of an encrypted cluster that uses `openssl` to wrap the data encryption key:
4242

4343
```
44-
pg_waldump --data-encryption --key-file-name=pg_encryption/key.bin --key-unwrap-command='openssl enc -d -aes-128-cbc -pbkdf2 -pass pass:<passphrase> -in "%p"'
44+
pg_waldump --data-encryption --key-file-name=pg_encryption/key.bin \
45+
--key-unwrap-command='openssl enc -d -aes-128-cbc -pbkdf2 -pass pass:<passphrase> -in "%p"'
4546
```
4647

4748
## Resetting a corrupt TDE-encrypted WAL file

product_docs/docs/tde/15/secure_key/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ You must make the commands available to the TDE database server so it can wrap a
6363
<details><summary>Example</summary>
6464

6565
```shell
66-
initdb --data-encryption -D /var/lib/edb/as16/data --key-wrap-command='openssl enc -e -aes-128-cbc -pbkdf2 -out "%p"' --key-unwrap-command='openssl enc -d -aes-128-cbc -pbkdf2 -in "%p"'
66+
initdb --data-encryption -D /var/lib/edb/as16/data \
67+
--key-wrap-command='openssl enc -e -aes-128-cbc -pbkdf2 -out "%p"' \
68+
--key-unwrap-command='openssl enc -d -aes-128-cbc -pbkdf2 -in "%p"'
6769
```
6870

6971
</details>

0 commit comments

Comments
 (0)