fix(be): fix BE access to aws under eks pod identity - #66555
Open
Owen-CH-Leung wants to merge 2 commits into
Open
fix(be): fix BE access to aws under eks pod identity#66555Owen-CH-Leung wants to merge 2 commits into
Owen-CH-Leung wants to merge 2 commits into
Conversation
Owen-CH-Leung
requested review from
Gabriel39,
gavinchou,
liaoxin01 and
morningman
as code owners
August 6, 2026 13:33
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #66554
Problem Summary
Fixes the issue above by forwarding
AWS_CONTAINER_AUTHORIZATION_TOKEN_FILEalongside the inline token. Given a file path, the provider will re-read it before every fetch, so credentials survive token rotation. ECS, which sets only the inline variableAWS_CONTAINER_AUTHORIZATION_TOKEN, is unaffected.Why the aws-sdp-cpp bump
The
GeneralHTTPCredentialsProviderdoes not exist before 1.11.221. The only container provider available at the currently pinned version isTaskRoleCredentialsProvider, which takes the token as a string and has no notion of a token file. 1.11.221 is the first version whoseGeneralHTTPCredentialsProviderre-reads the token file.Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)