ice_cookbook icon indicating copy to clipboard operation
ice_cookbook copied to clipboard

Allow the use of encrypted data bags for looking up AWS credentials

Open rayrod2030 opened this issue 12 years ago • 2 comments

It would be great to have the option of using an encrypted data bag to store AWS credentials used for accessing the AWS billing and ice work buckets via S3.

rayrod2030 avatar Oct 16 '13 13:10 rayrod2030

Even better would be to leverage IAM role for AWS API calls. I'm not sure if this is supported currently.

dhawal55 avatar Mar 02 '15 18:03 dhawal55

This could be solved by using a wrapper cookbook that pulls your credentials out of your data bag and sets the appropriate ice attribute files.

That being said, you should be using IAM roles unless you're forced to run this on premise rather than in AWS. By simply leaving the attributes for the access credentials blank you should get this behaviour.

et304383 avatar Jul 23 '15 17:07 et304383