Skip to content

alexmanly/cookbook-encrypted-data-bag

Repository files navigation

encrypted-data-bag

This cookbook was written to demonstrate the usage of encrypted databags. It assumes you have a working ChefDK installation with Test Kitchen and Vagrant setup.

To see it work:

  • from the root of this cookbook run 'kitchen converge' twice The first time you run kitchen converge you will see the file moved onto the server The second time you run kitchen converge you will see the decrypted password in the output

To go through the process of recreating the secret and encrypted databag:

  • openssl rand -base64 512 > files/defaultencrypted_data_bag_secret
  • chef gem install knife-solo_data_bag
  • knife solo data bag create admins sally --secret-file files/default/encrypted_data_bag_secret

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages