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

feat: add support for web identity in auth token generation #21

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

Conversation

edelwud
Copy link

@edelwud edelwud commented Oct 22, 2024

This PR adds the ability to authenticate using Web Identity when generating auth tokens.

What’s new:
Added support for using Web Identity tokens to generate temporary credentials needed for MSK access.
Extended the existing token generation functionality to include the AssumeRoleWithWebIdentity feature.

Before this, the tool didn’t support Web Identity auth, limiting its use in environments where apps rely on OIDC providers and JWT tokens.

Introduces GenerateAuthTokenFromWebIdentity to generate auth tokens using web identity role arn and id token. This includes a new loadCredentialsFromWebIdentityParameters function to handle the credential loading.

Introduces GenerateAuthTokenFromWebIdentity to generate auth tokens using web identity role Arn. This includes a new loadCredentialsFromWebIdentityParameters function to handle the credential loading.
@mfelipe
Copy link

mfelipe commented Nov 8, 2024

This is very useful, @sankalpbhatia please take a look when possible.

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