berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 85 forks source link

How do you encrypt a databag item using Ridley? #290

Open trekr5 opened 9 years ago

trekr5 commented 9 years ago

What would be the Ridley equivalent of knife data bag create passwords mysql --secret-file /tmp/my_data_bag_key ( where passwords is the name of the databag, mysql is the databag item and “/tmp/my_data_bag_key” is the path to the location in which the file that contains the secret-key is located)?

rbowlby commented 9 years ago

I've found no existing method of doing so. This seems like a pretty simple use case for ridley: creating an encrypted data bag. Anyone have a suggestion...beer payments provided; or physical beer..if in SF or Seattle.