ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.88k stars 3.4k forks source link

AWS Credential: Add support for STS assume role #4434

Open bkmeneguello opened 5 years ago

bkmeneguello commented 5 years ago
ISSUE TYPE
SUMMARY

AWS credentials could support a role ARN and call STS Assume Role service to obtain temporary credentials. I know the STS Token allow me to do this from outside AWX, but this could be a feature.

https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html

saxonww commented 5 years ago

I just ran into this myself, and it was pointed out to me that we should be able to present a standard config file (.aws/credentials, .boto, etc.) to the task runner and then pass a profile name to our jobs.

mihai-satmarean commented 2 years ago

I just ran into this myself, and it was pointed out to me that we should be able to present a standard config file (.aws/credentials, .boto, etc.) to the task runner and then pass a profile name to our jobs.

could you provide an example or point to one? thanks!