Chef aws credential provisioning question

80 Views Asked by At

Question about chef provisioning for aws.

The credentials are always passed from a profile? or can you pass them directly from the code?

And the profile file does it require a specific directory or is inside the cookbook?

thanks in advance

1

There are 1 best solutions below

0
On

i assume that you refer to knife-ec2 plugin. if so, then there are few options:

  1. use aws configuration\credentials file (aws profile)
  2. use configuration files (aws access\secret key)