Keyring File Configuration¶
This setup is intended for development and stores the keys unencrypted in the specified data file.
Note
While keyfiles may be acceptable for local or testing environments, KMS integration is the recommended approach for production deployments.
SELECT pg_tde_add_global_key_provider_file(
'provider-name',
'/path/to/the/keyring/data.file'
);
The following example is used for testing purposes only:
SELECT pg_tde_add_global_key_provider_file(
'file-keyring',
'/tmp/pg_tde_test_local_keyring.per'
);
For more information on related functions, see the link below:
Percona pg_tde Function Reference