# How to specify vault namespace when create key provider?

**URL:** <https://forums.percona.com/t/how-to-specify-vault-namespace-when-create-key-provider/39333>\
**Category:** PG\_TDE – Transparent Data Encryption (TDE)\
**Created:** [September 11, 2025, 6:51am UTC](https://forums.percona.com/t/how-to-specify-vault-namespace-when-create-key-provider/39333 "2025-09-11T06:51:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley\_Tam](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stanley_tam/32/20714_2.png) [@Stanley\_Tam](https://forums.percona.com/u/Stanley_Tam)\
**Post date:** [September 11, 2025, 6:51am UTC](https://forums.percona.com/t/how-to-specify-vault-namespace-when-create-key-provider/39333/1 "2025-09-11T06:51:23Z")

</div>

We are using hvault with a dedicated namespace. How can we specify the namespace when creating TDE key provider and key?

---

<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:** [September 16, 2025, 7:17am UTC](https://forums.percona.com/t/how-to-specify-vault-namespace-when-create-key-provider/39333/2 "2025-09-16T07:17:21Z")

</div>

Hello @Stanley_Tam !

Thank you for your question, right now you cannot explicitly set the namespace in `pg_tde` but support for explicit namespaces is on our roadmap for a future release.

Please feel free to continue providing feedback, we appreciate it!

Have a good day.

---

<div class="post-metadata">

**Author:** ![Jan\_Wieremjewicz](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jan_wieremjewicz/32/7324_2.png) [@Jan\_Wieremjewicz](https://forums.percona.com/u/Jan_Wieremjewicz)\
**Post date:** [September 16, 2025, 3:19pm UTC](https://forums.percona.com/t/how-to-specify-vault-namespace-when-create-key-provider/39333/3 "2025-09-16T15:19:22Z")

</div>

Hi @Stanley_Tam I am happy to share that we have planned it now and hope to have it ready for the upcoming minor update in Q4!

Hope this helps, when it’s available we’d love some feedback how did you find the implementation.
