updated this topic with:
- added warning to not use it in PROD as it is in beta
- Updated the SELECT parameters to be easier to read
- Removed topic header as it is not necessary and updated the paragraph
introducing the steps
Before turning WAL encryption on, you must follow the steps below to create your first principal key.
!!! warning
The WAL encryption feature is currently in beta and is not effective unless explicitly enabled. It is not yet production ready. **Do not enable this feature in production environments**.
## Create the principal key
Before enabling WAL encryption, follow the steps below to create a principal key and configure it for WAL:
1. Create the `pg_tde` extension if it does not exist:
@ -10,7 +11,7 @@ Before turning WAL encryption on, you must follow the steps below to create your
CREATE EXTENSION IF NOT EXISTS pg_tde;
```
2. Set up the key provider for WAL encryption
2. Set up the key provider for WAL encryption:
=== "With KMIP server"
@ -19,7 +20,14 @@ Before turning WAL encryption on, you must follow the steps below to create your
For testing purposes, you can use the PyKMIP server which enables you to set up required certificates. To use a real KMIP server, make sure to obtain the valid certificates issued by the key management appliance.