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

Adds support for credential process used by aws cli #279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Hanse00
Copy link

@Hanse00 Hanse00 commented Apr 28, 2023

Note: Although I'm a seasoned developer, this is my first foray into the JS ecosystem, so please feel free to give me constructive criticism on the changes submitted here, and I'll get in line with any styles or patterns I should adopt that I have not.

This change adds a new flag --credential-process which modifies the script to return a JSON formatted string consistent with what is needed to use it as an external credential process in conjunction with the AWS cli: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html

With this change, the ~/.aws/config file can be modified to something along the lines of: credential_process=aws-azure-login --no-prompt --credential-process thereby using this tool to authenticate entirely transparently.

@Hanse00
Copy link
Author

Hanse00 commented Apr 28, 2023

@MohamedAsan You appear to be the most active contributor to this project recently. Can I convince you to review this please?

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.

None yet

1 participant