Skip to content

Instantly share code, notes, and snippets.

View momchilov's full-sized avatar

K Momchilov momchilov

  • London, United Kingdom
View GitHub Profile
@momchilov
momchilov / secret.rb
Created August 30, 2019 13:07 — forked from sethvargo/secret.rb
Example Chef extension to extract secrets from HashiCorp's Vault
# Please see the following blog post for more information:
#
# https://www.hashicorp.com/blog/using-hashicorp-vault-with-chef.html
#
resource_name :vault_secret
property :path, String, name_property: true
property :destination, String