Skip to content

Commit

Permalink
README: added ohai credentials explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed May 21, 2014
1 parent d02539b commit 35ae002
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,25 @@ Stacktrace:

See the [subject](#subject) documentation for more details on the variables accesible inside the template.

## IAM Role Credentials from Ohai

IAM Role information and credentials are gathered from ohai by default if they exists.

No aditional ohai plugin is required. This is supported by ohai since version `6.16.0` ([OHAI-400](https://tickets.opscode.com/browse/OHAI-400)).

These are the used ohai attributes:

```
ec2
├── placement_availability_zone: region is set from here.
└── iam
└── security-credentials
└── IAMRoleName
├── AccessKeyId
├── SecretAccessKey
└── Token
```

## Running the tests

Minitest tests can be run as usual:
Expand Down

0 comments on commit 35ae002

Please sign in to comment.