# pg_tde 2.2.2: Vault Enterprise KMIP and faster WAL encryption

> What changed in pg_tde 2.2.2, which Percona PostgreSQL versions are compatible, and what operators should check before upgrading.

---

LLMS index: [llms.txt](/llms.txt)

---

> This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see [PG TDE on Mimus](/docs/tde/).

An editorial reading note by PGSTY, based on the upstream documentation.


pg_tde 2.2.2 focuses on two operator-facing changes: KMIP support for HashiCorp Vault Enterprise and better WAL encryption performance.

> [!WARNING]
> The upstream release notes state that pg_tde 2.2.2 is incompatible with Percona Distribution for PostgreSQL versions older than 17.10.2 or 18.4.2.

## What changed {#what-changed}

- Add support for HashiCorp Vault Enterprise through KMIP. Vault Enterprise was already supported through the Vault V2 protocol.
- Improve WAL encryption performance.
- Fix empty certificate parameters passed to `pg_tde_add_global_key_provider_kmip()` and `pg_tde_add_database_key_provider_kmip()`.
- Fix a Vault provider race after a process fork.
- Fix WAL archiving with `pg_tde_archive_decrypt` and `pg_tde_restore_encrypt` when `pg_wal` is a symlink.
- Include frontend tool fixes from PostgreSQL 16.15, 17.11, and 18.5.

## Before you upgrade {#before-you-upgrade}

1. Confirm the Percona PostgreSQL package version is compatible.
2. Review the key provider configuration and ensure the server can read existing principal keys.
3. Test WAL archive and restore in a disposable environment.
4. Keep the [backup and WAL encryption procedure](/docs/tde/upstream/how-to/backup-wal-enabled/) with the change record.

For the complete upstream changelog, read the [pg_tde 2.2.2 release note](/docs/tde/upstream/release-notes/release-notes-v2.2.2/).

[PG.CENTER edition](https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/blog/release/2.2.2.md) · [Upstream source](https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/release-notes/release-notes-v2.2.2.md)
