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

Allow for role based credentials #39

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

danquack
Copy link
Contributor

Awesome project! I want to implement this without having to have long live credentials, so I put together this PR. Feel free to take it, close it, or modify.

When running inside of a container, credentials can be provided through environment variables, role assumption, etc. The current code was simply checking for the presence of a value. This PR changes to accepting the config and verifying the role through checkCredentials sts GetCallerIdentity. It also allows you to use the other authentication methods, such as env.

@joeirimpan joeirimpan merged commit b731ef9 into joeirimpan:master Dec 12, 2023
@joeirimpan
Copy link
Owner

Thank you @danquack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants