+ All Categories
Home > Technology > Creating encrypted data bags using knife solo plugin for cookbook development using chef-solo

Creating encrypted data bags using knife solo plugin for cookbook development using chef-solo

Date post: 08-Aug-2015
Category:
Upload: nimeshsubramanian
View: 263 times
Download: 0 times
Share this document with a friend
4
KNIFE SOLO DATA BAG PLUGIN Nimesh subramanian
Transcript

KNIFE SOLO DATA BAG PLUGIN

Nimesh subramanian

WHY KNIFE - SOLO

• Speeding up cookbook development using chef-solo

IS IT EASY TO SETUP?

Install the following gems• Chef• Knife• Knife-solo_data_bag

HOW DO I START CREATING ENCRYPTED DATA BAGS

Creating your knife.rb and a neat folder structure• knife solo init .

Create a secret key• Openssl rand –base64 512 > data_bags/secret_key

Create your encrypted data bag• Knife solo data bag create my_secrets

your_item_name –secret-file data_bags/secret_key


Recommended