CircleCI Ideas

AWS credentials per context

It would be useful to specify AWS credentials linked to a specific context so that an individual job's setup does not require users to know AWS keys but simply what context they are using. This also allows you to manage AWS keys per environment if you have a 'dev' context and a 'prod' context for example.

This is similar to but a bit more flexible as you can have the hierarchy with choosing which credentials to use similar to deciding which Environment variables to use.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 19 2018
  • Duplicate
  • Attach files
  • Admin
    Alexey Klochay commented
    25 Jul, 2018 01:40pm

    Thank you for your idea!

    Right now you can have this working as you have described by using the environment variables to configure the AWS CLI. You could have different values of AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in different contexts.

    Please let me know if I am misunderstanding your idea. Cheers!