[chef] Re: Re: Re: data bags and recipe


Chronological Thread 
  • From: Jay Feldblum < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: data bags and recipe
  • Date: Tue, 9 Jul 2013 18:33:51 -0400

Dorian,

You can simply store an encrypted version of the password in the node's attributes. You can use the normal Ruby OpenSSL stdlib to do the encryption (the encrypted data-bag code does that under the hood).

You can even use the encrypted-data-bag key for this purpose, provided the key management procedures are appropriate.

You do not need to write to encrypted data-bag items from within recipes.

Cheers,
Jay Feldblum




Archive powered by MHonArc 2.6.16.

§