Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aws assume role plugin #15294

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

derekwaters
Copy link

SUMMARY

This change adds a new credential plugin that allows for the lookup of temporary AWS credentials using the AWS AssumeRole API. An AWS User Account may be configured either in the AssumeRole credential plugin (with an Access Key and Secret Key) or the default AWS API authentication may be used within the execution environment.

Prior to execution a job, the AWS AssumeRole API is called with the specified role name (ARN). If the authentication is successful, a temporary Access Key, Secret Key and Session Token are generated by AWS and used to populate a standard AWS Access Credential.

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • API
AWX VERSION
awx: 0.1.dev34063+g5b9e03a
ADDITIONAL INFORMATION

AWS AssumeRole API information can be found here:

https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html#output

Details of how this plugin works (from when it was implemented as a custom user-installed plugin) can be found here:

https://derekwaters.github.io/ansible/execution/environments/credentials/aws/sts/assume/role/2023/12/21/building-a-custom-credential-plugin.html

Signed-off-by: Derek <derek@frisbeeworld.com>
Signed-off-by: Derek <derek@frisbeeworld.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant