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

Use WebIdentityTokenCredentialsProvider to access remote extensions #4921

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

lubennikovaav
Copy link
Contributor

Fixes access to s3 buckets that use IAM roles for service accounts access control method

@lubennikovaav lubennikovaav requested a review from a team as a code owner August 7, 2023 19:18
@lubennikovaav lubennikovaav requested review from koivunej, a team and bayandin and removed request for a team August 7, 2023 19:18
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

1264 tests run: 1211 passed, 0 failed, 53 skipped (full report)


@awestover
Copy link
Contributor

looks awesome!

@koivunej
Copy link
Member

koivunej commented Aug 8, 2023

Created a PR with my suggestions: #4922

@koivunej
Copy link
Member

koivunej commented Aug 8, 2023

We must next add e2e test that we are able to do these requests because of this new provider. Unsure how to setup such situation, or how to create a webidentity thing for the run.

Review comments on #4921:
- check the WebIdentity provider before imdsv2 because imds will do a
http request which will cost more than checking local env variables
- move provider config to be nearer to webidentity provider
- refactor out the common wrapping of `aws_config::...::Region`
@lubennikovaav
Copy link
Contributor Author

We must next add e2e test that we are able to do these requests because of this new provider. Unsure how to setup such situation, or how to create a webidentity thing for the run.

It will be covered by remote extensions e2e test.

Copy link
Member

@bayandin bayandin left a comment

Choose a reason for hiding this comment

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

I don't have anything to say about the code. If it works, it works 👍

@lubennikovaav lubennikovaav merged commit 6d17d6c into main Aug 8, 2023
28 checks passed
@lubennikovaav lubennikovaav deleted the use_web_token_provider branch August 8, 2023 09:37
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.

4 participants