From 4b121030e494048ac5feb1f2ef504a71e47937f8 Mon Sep 17 00:00:00 2001 From: mattray Date: Wed, 4 May 2011 15:18:18 -0500 Subject: [PATCH] markdown cleanup --- data_bags/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data_bags/README.md b/data_bags/README.md index b7e963d..66058e2 100644 --- a/data_bags/README.md +++ b/data_bags/README.md @@ -30,7 +30,7 @@ Encrypted Data Bags Added in Chef 0.10, encrypted data bags allow you to encrypt the contents of your data bags. The content of attributes will no longer be searchable. To use encrypted data bags, first you must have or create a secret key. openssl rand -base64 512 > secret_key - + You may use this secret_key to add items to a data bag during a create. knife data bag create --secret-file secret_key passwords mysql @@ -39,13 +39,13 @@ You may also use it when adding ITEMs from files, knife data bag create passwords knife data bag from file passwords data_bags/passwords/mysql.json --secret-file secret_key - + The JSON for the ITEM must contain a key named "id" with a value equal to "ITEM" and the contents will be encrypted when uploaded. For example, -{ - "id": "mysql", - "password": "abc123" -} + { + "id": "mysql", + "password": "abc123" + } Without the secret_key, the contents are encrypted. @@ -55,7 +55,7 @@ Without the secret_key, the contents are encrypted. Use the secret_key to view the contents. - knife data bag show passwords mysql --secret-file secret_key + knife data bag show passwords mysql --secret-file secret_key id: mysql password: abc123