Skip to content

Commit

Permalink
Added GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
nastena1606 committed Nov 29, 2023
1 parent 3af82a8 commit 0fb0f06
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/doc-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
cd documentation
mike deploy main -p
mike set-default main -p
mike retitle main "MVP" -p
# - name: Install Node.js 14.x
Expand Down
17 changes: 14 additions & 3 deletions documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,24 @@

This is the MVP version of the extension.

## What's encrypted

`pg_tde` encrypts the following:

* user data in tables, including TOAST tables, that are created using the extension. Metadata of those tables is not encrypted.
* User data in tables, including TOAST tables, that are created using the extension. Metadata of those tables is not encrypted.
* Write-Ahead Log (WAL) data for tables created using the extension
* Temporary tables created during the database operation for data tables created using the extension

The encryption of indexes is planned for the next releases of `pg_tde`.
## What's not encrypted

In the MVP version of `pg_tde`, the following remains unencrypted:

* Indexes
* Logical replication
* `NULL` bitmaps of tuples
* Keys in the keyring file

Their encryption is planned for the next releases of `pg_tde`.

<i warning>:material-alert: Warning:</i> Note that introducing encryption/decryption affects performance. Our benchmark tests show appr. 10% performance overhead.

Expand All @@ -23,7 +34,7 @@ The encryption of indexes is planned for the next releases of `pg_tde`.
`pg_tde` is currently supported for Percona Distribution for PostgreSQL 16 and PostgreSQL 16.


## Useful links:
## Useful links

* [What is Transparent Data Encryption](tde.md)

2 changes: 2 additions & 0 deletions documentation/docs/replication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Streaming replication configuration

3 changes: 3 additions & 0 deletions documentation/docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ Load the `pg_tde` at the start time. The extension requires additional shared me
```sql
CREATE EXTENSION pg_tde;
```

By default, the `pg_tde` extension is created for the


4. Set the location of the keyring configuration file in postgresql.conf: `pg_tde.keyringConfigFile = '/where/to/put/the/keyring.json'`
5. Create the [keyring configuration file](#keyring-configuration)
6. Start or restart the `postgresql` instance to apply the changes.
Expand Down
3 changes: 3 additions & 0 deletions documentation/docs/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Test Transparent Data Encryption

To check if the data is encrypted, do the following
2 changes: 2 additions & 0 deletions documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ nav:
- Get started:
- "Install": "install.md"
- "Set up": "setup.md"
- Test TDE: "test.md"
- How to:
- Configure streaming replication: replication.md
- contributing.md

Expand Down

0 comments on commit 0fb0f06

Please sign in to comment.