# API to automate refreshes of Chef Vaults

**URL:** <https://discourse.chef.io/t/api-to-automate-refreshes-of-chef-vaults/16103>\
**Category:** Chef Infra (archive)\
**Created:** [October 19, 2019, 3:34pm UTC](https://discourse.chef.io/t/api-to-automate-refreshes-of-chef-vaults/16103 "2019-10-19T15:34:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafal\_Radecki](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@Rafal\_Radecki](https://discourse.chef.io/u/Rafal_Radecki)\
**Post date:** [October 19, 2019, 3:34pm UTC](https://discourse.chef.io/t/api-to-automate-refreshes-of-chef-vaults/16103/1 "2019-10-19T15:34:14Z")

</div>

Hi All.

I need to automate through aws lambda refresh of a chef vault. I would ideally like to avoid direct usage of knife command and rather rely on some api. I have found various options:

1. [https://github.com/chef/chef-api](https://github.com/chef/chef-api)
2. [https://github.com/chef/go-chef](https://github.com/chef/go-chef)
3. [https://pypi.org/project/PyChef/](https://pypi.org/project/PyChef/)

But none seems to support vault operations.  
Can someone point me in the right direction?

Thanks!

Best Regards,  
Rafal.
