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

Support GCP Web Identity session credentials #645

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

Conversation

connor-scio
Copy link

No description provided.

Copy link
Contributor

@matthiasr matthiasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I understand what this is about, but I am not sure. Could you please add a bit more description to the PR, as well as documentation of the configuration and how to use it to the README?

You don't have to implement other providers, but I would like to make sure we are not limiting future options: Can you briefly explain how we would extend this to support other providers' web identity integrations in the future?

private AwsCredentialsProvider getRoleCredentialProvider(Map<String, Object> config) {
String roleArn = (String) config.get("role_arn");
if (config.containsKey("assume_role_web_identity")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this only works for GCP, I think this config key should reflect it?

@matthiasr
Copy link
Contributor

Also, please add the DCO sign-off to all your commits, it is a legal requirement for us to accept your contributions.

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.

2 participants