forked from postgres/postgres
-
Notifications
You must be signed in to change notification settings - Fork 11
Tde documentation updates for ga #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Andriciuc
merged 31 commits into
TDE_REL_17_STABLE
from
TDE-documentation-updates-for-GA
May 8, 2025
Merged
Changes from 5 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
fdd464b
Added and reorg files
Andriciuc f3d8379
Split Home and created TDE Overview
Andriciuc e2d4be2
Further refined and split into topics
Andriciuc f5db064
Renamed files and folders for better SEO
Andriciuc 4869f64
Merge remote-tracking branch 'origin/pg_tde_docs_updates_for_GA' into…
Andriciuc ed361e7
updated with Anders branch
Andriciuc b5c9e89
Small updates to yml and apt
Andriciuc d5a0629
updated index folder to reflect chapter name, overview
Andriciuc ef82b1f
updated overview doc to index again
Andriciuc cbd4017
updated links to reflect proper structure
Andriciuc 778851b
Setup.md and structure changes
Andriciuc 1e3c160
A handful of fixes
Andriciuc 043b44e
removed PG Community mentions
Andriciuc 0876d20
updated cli and kmip server code
Andriciuc 106856d
small fixes
Andriciuc 6dc7d79
Update functions.md
Andriciuc 9b8d6c2
updated toc
Andriciuc 9302f0f
small fixes to buttons added
Andriciuc 7d4b514
smaller updates
Andriciuc 6f1c3b8
smaller updates
Andriciuc 12230fe
Update requirements.txt
Andriciuc 31c0975
fixes part 1/2 from feedback review
Andriciuc dce23bd
updated features.md
Andriciuc 1e61a45
removed compliance/regulations
Andriciuc f636e82
fix for PG-1587
Andriciuc 45b470e
fixes for nastia 1/2 and for jz 2/2
Andriciuc 104710e
all fixes accounted for
Andriciuc a39e568
Resolve merge conflicts
Andriciuc 31bea87
fixes to titles
Andriciuc be6e6ef
fixed notes in features
Andriciuc 7b76758
updated function parameters
Andriciuc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,13 @@ | ||
# `pg_tde` documentation | ||
|
||
`pg_tde` is the open source PostgreSQL extension that provides Transparent Data Encryption (TDE) to protect data at rest. This ensures that the data stored on disk is encrypted, and no one can read it without the proper encryption keys, even if they gain access to the physical storage media. | ||
`pg_tde` is the open source, community driven and futureproof PostgreSQL extension that provides Transparent Data Encryption (TDE) to protect data at rest. `pg_tde` ensures that the data stored on disk is encrypted, and that no one can read it without the proper encryption keys, even if they gain access to the physical storage media. | ||
|
||
Learn more [what Transparent Data Encryption is](tde.md#how-does-it-work) and [why you need it](tde.md#why-do-you-need-tde). | ||
Learn more about [what Transparent Data Encryption is](tde.md#how-does-it-work) and [why do you need it](tde.md#why-do-you-need-tde). | ||
|
||
!!! important | ||
|
||
This is the {{release}} version of the extension and it is not meant for production use yet. We encourage you to use it in testing environments and [provide your feedback](https://forums.percona.com/c/postgresql/pg-tde-transparent-data-encryption-tde/82). | ||
|
||
[Get started](install.md){.md-button} | ||
[What's new in pg_tde {{release}}](release-notes/release-notes.md){.md-button} | ||
|
||
## What's encrypted: | ||
|
||
* User data in tables, including TOAST tables, that are created using the extension. Metadata of those tables is not encrypted. | ||
* Temporary tables created during the database operation for data tables created using the extension | ||
* Write-Ahead Log (WAL) data for the entire database cluster. This includes WAL data in encrypted and non-encrypted tables | ||
* Indexes on encrypted tables | ||
* Logical replication on encrypted tables | ||
|
||
[Check the full feature list](features.md){.md-button} | ||
|
||
## Known limitations | ||
|
||
* Keys in the local keyfile are stored unencrypted. For better security we recommend using the Key management storage. | ||
* System tables are currently not encrypted. This means that statistics data and database metadata are currently not encrypted. | ||
|
||
* `pg_rewind` doesn't work with encrypted WAL for now. We plan to fix it in future releases. | ||
* `pb_tde` Release candidate is incompatible with `pg_tde`Beta2 due to significant changes in code. There is no direct upgrade flow from one version to another. You must [uninstall](uninstall.md) `pg_tde` Beta2 first and then [install](install.md) and configure the new Release Candidate version. | ||
|
||
|
||
|
||
## Versions and supported PostgreSQL deployments | ||
|
||
The `pg_tde` extension comes in two distinct versions with specific access methods to encrypt the data. These versions are database-specific and differ in terms of what they encrypt and with what access method. Each version is characterized by the database it supports, the access method it provides, and the scope of encryption it offers. | ||
|
||
* **Version for Percona Server for PostgreSQL** | ||
|
||
This `pg_tde` version is based on and supported for [Percona Server for PostgreSQL 17.x :octicons-link-external-16:](https://docs.percona.com/postgresql/17/postgresql-server.html) - an open source binary drop-in replacement for PostgreSQL Community. It provides the `tde_heap` access method and offers [full encryption capabilities](features.md). | ||
|
||
* **Community version** (deprecated) | ||
|
||
This version is available with PostgreSQL Community 16 and 17, and Percona Distribution for PostgreSQL 16. It provides the `tde_heap_basic` access method, offering limited encryption features. The limitations are in encrypting WAL data only for tables created using the extension and no support of index encryption nor logical replication. | ||
|
||
### Which version to choose? | ||
|
||
Enjoy full encryption with the Percona Server for PostgreSQL version and the `tde_heap` access method. The Community version is deprecated and is planned to be removed in future releases. | ||
|
||
Still not sure? [Contact our experts](https://www.percona.com/about/contact) to find the best solution for you. | ||
|
||
[TDE Overview](tde_encrypts.md){.md-button} | ||
[Get started](install F438 .md){.md-button} | ||
[What's new in pg_tde {{release}}](release-notes/release-notes.md){.md-button} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How does TDE help? | ||
|
||
Using TDE provides the following benefits: | ||
|
||
* For organizations: | ||
|
||
- Ensure data safety when it is stored on disk and in backups | ||
- Comply with security and legal standards like HIPAA, PCI DSS, SOC 2, ISO 27001 | ||
|
||
* For DBAs: | ||
|
||
- Granular encryption of specific tables and reducing the performance overhead that encryption brings | ||
- Additional layer of security to existing security measures like storage-level encryption, data encryption in transit using TLS, access control and more. | ||
|
||
!!! admonition "See also" | ||
|
||
Percona Blog: [Transparent Data Encryption (TDE)](https://www.percona.com/blog/transparent-data-encryption-tde/) | ||
|
17 changes: 17 additions & 0 deletions
17
contrib/pg_tde/documentation/docs/index/supported-versions.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Versions and supported PostgreSQL deployments | ||
|
||
The `pg_tde` extension comes in two distinct versions with specific access methods to encrypt the data. These versions are database-specific and differ in terms of what they encrypt and with what access method. Each version is characterized by the database it supports, the access method it provides, and the scope of encryption it offers. | ||
|
||
* **Version for Percona Server for PostgreSQL** | ||
|
||
This `pg_tde` version is based on and supported for [Percona Server for PostgreSQL 17.x :octicons-link-external-16:](https://docs.percona.com/postgresql/17/postgresql-server.html) - an open source binary drop-in replacement for PostgreSQL Community. It provides the `tde_heap` access method and offers [full encryption capabilities](features.md). | ||
|
||
* **Community version** (deprecated) | ||
|
||
This version is available with PostgreSQL Community 16 and 17, and Percona Distribution for PostgreSQL 16. It provides the `tde_heap_basic` access method, offering limited encryption features. The limitations are in encrypting WAL data only for tables created using the extension and no support of index encryption nor logical replication. | ||
|
||
## Which version to choose? | ||
|
||
Enjoy full encryption with the Percona Server for PostgreSQL version and the `tde_heap` access method. The Community version is deprecated and is planned to be removed in future releases. | ||
|
||
Still not sure? [Contact our experts](https://www.percona.com/about/contact) to find the best solution for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# What does TDE encrypt? | ||
|
||
`pg_tde` encrypts the following: | ||
|
||
* User data in tables, including TOAST tables, that are created using the extension. The metadata of those tables is not encrypted. | ||
* Temporary tables created during the database operation for data tables created using the extension | ||
* Write-Ahead Log (WAL) data for the entire database cluster. This includes WAL data in encrypted and non-encrypted tables | ||
* Indexes on encrypted tables | ||
* Logical replication on encrypted tables | ||
|
||
[Check the full feature list](features.md){.md-button} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Known limitations | ||
|
||
* Keys in the local keyfile are stored unencrypted. For better security we recommend using the Key management storage. | ||
* System tables are currently not encrypted. This means that statistics data and database metadata are currently not encrypted. | ||
|
||
* `pg_rewind` doesn't work with encrypted WAL for now. We plan to fix it in future releases. | ||
* `pb_tde` Release candidate is incompatible with `pg_tde`Beta2 due to significant changes in code. There is no direct upgrade flow from one version to another. You must [uninstall](how-to/uninstall.md) `pg_tde` Beta2 first and then [install](install.md) and configure the new Release Candidate version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# What is Transparent Data Encryption (TDE)? | ||
|
||
Transparent Data Encryption is a technology to protect data at rest. The encryption process happens transparently in the background, without affecting database operations. Data is automatically encrypted as it's written to the disk and decrypted as it's read, all in real-time. Users and applications interact with the data as usual without noticing any difference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Replication | ||
|
||
<!-- To add information on Replication affecting pg_tde for customers and how it interacts with it | ||
Also, don't forget to add it to TOC> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.