[chef] Handling of encrypted data bag keys


Chronological Thread 
  • From: Thom May < >
  • To:
  • Subject: [chef] Handling of encrypted data bag keys
  • Date: Thu, 11 Apr 2013 12:00:49 +0100

Hey,
how are people handling the distribution of encryption keys for data bags? It seems unfortunate to have to copy out the encryption key at bootstrap time, but having it as a cookbook file is daft.
So then I was thinking I'd have the key on a private s3 bucket, which could then be accessed with signed urls. 
But then I thought, if we're doing that, why bother putting the file on disk at all? Just download the contents at the start of the chef run, use it for the duration, and let the key go away when the chef process dies. 
Am I missing something?
-T



Archive powered by MHonArc 2.6.16.

§