# Pg\_tde and local file provider

**URL:** <https://forums.percona.com/t/pg-tde-and-local-file-provider/39046>\
**Category:** PG\_TDE – Transparent Data Encryption (TDE)\
**Created:** [August 9, 2025, 3:42pm UTC](https://forums.percona.com/t/pg-tde-and-local-file-provider/39046 "2025-08-09T15:42:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![did16](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@did16](https://forums.percona.com/u/did16)\
**Post date:** [August 9, 2025, 3:42pm UTC](https://forums.percona.com/t/pg-tde-and-local-file-provider/39046/1 "2025-08-09T15:42:17Z")

</div>

Hi  
After reviewing the documentation, I am unable to use pg\_tde with a “file-keyring” provider and a key stored locally in a file.  
Could you please provide me with all the commands required to create an encrypted table?  
Thanks in advance  
Best Regards  
Didier

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 11, 2025, 3:52pm UTC](https://forums.percona.com/t/pg-tde-and-local-file-provider/39046/2 "2025-08-11T15:52:08Z")

</div>

Hello @did16,

I followed [the documentation](https://docs.percona.com/pg-tde/global-key-provider-configuration/keyring.html) and it worked perfectly. Can you share all the commands you ran, and the output?

---

<div class="post-metadata">

**Author:** ![Dragos\_Andriciuc](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dragos_andriciuc/32/20787_2.png) [@Dragos\_Andriciuc](https://forums.percona.com/u/Dragos_Andriciuc)\
**Post date:** [August 12, 2025, 7:38am UTC](https://forums.percona.com/t/pg-tde-and-local-file-provider/39046/3 "2025-08-12T07:38:12Z")

</div>

Hello @did16 ! Thank you for your feedback, can you please let us know:

- Your OS and PG version
- at which point in the documentation, following the steps, did you need more help or clarity?

Thank you!
