Skip to content

Commit

Permalink
Merge pull request #13 from evertrue/evertrue/eherot/do_not_store_aws…
Browse files Browse the repository at this point in the history
…_keys_in_node_attributes

Do not use node attributes to store secure objects
  • Loading branch information
ghellings committed Dec 4, 2014
2 parents 2511e3c + 21bb385 commit 17cab7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fixtures/cookbooks/fake/recipes/add_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
'aws_keys'
)

credentials = Chef::EncryptedDataBagItem.load(
node['aws_security']['encrypted_data_bag'],
'aws_keys'
)

aws_security_group 'test' do
description 'test security group'
region 'us-west-2'
Expand Down

0 comments on commit 17cab7b

Please sign in to comment.