# Chef vault with private encrypt

**URL:** <https://discourse.chef.io/t/chef-vault-with-private-encrypt/11799>\
**Category:** Chef Infra (archive)\
**Created:** [October 23, 2017, 7:09am UTC](https://discourse.chef.io/t/chef-vault-with-private-encrypt/11799 "2017-10-23T07:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkeshark](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bkeshark](https://discourse.chef.io/u/bkeshark)\
**Post date:** [October 23, 2017, 7:09am UTC](https://discourse.chef.io/t/chef-vault-with-private-encrypt/11799/1 "2017-10-23T07:09:13Z")

</div>

Hi All,

i know chef-vault use its internal mechanism to encrypt the secretes. I am looking to create vault with supplied supplied encryption key?

Data bag does provide that capability, do we have similar for vault as well?

---

<div class="post-metadata">

**Author:** ![coderanger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/coderanger/32/5_2.png) [@coderanger](https://discourse.chef.io/u/coderanger)\
**Post date:** [October 23, 2017, 4:45pm UTC](https://discourse.chef.io/t/chef-vault-with-private-encrypt/11799/2 "2017-10-23T16:45:16Z")

</div>

Not that I know of, the value being randomized is part of the security model of chef-vault so this probably has never come up. If you explain why you think you want to use a fixed key, it might help.
