chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::EncryptedDataBagItem.load
=== Synopsis EncryptedDataBagItem.load(data_bag, name, secret = nil) === Args +data_bag+:: The name of the data bag to fetch +name+:: The name of the data bag item to fetch +secret+:: The raw secret key. If the +secret+ is nil, the value of the file at +Chef::Config[:encrypted_data_bag_secret]+ is loaded. See +load_secret+ for more information. === Description Loads and decrypts the data bag item with the given name.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/encrypted_data_bag_item.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--EncryptedDataBagItem-load-for-pr
# Commit to gitgit add lib/chef/encrypted_data_bag_item.rbgit commit -m "better docs for Chef::EncryptedDataBagItem.load"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--EncryptedDataBagItem-load-for-pr
hub pull-request
# Celebrate!