Owen-CH-Leung opened a new pull request, #66555:
URL: https://github.com/apache/doris/pull/66555

   ### What problem does this PR solve?
   
   Issue Number: close #66554 
   
   **Problem Summary**
   
   Fixes the issue above by forwarding `AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE` 
alongside 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 variable `AWS_CONTAINER_AUTHORIZATION_TOKEN`, is unaffected.
   
   **Why the aws-sdp-cpp bump**
   
   The `GeneralHTTPCredentialsProvider` does not exist before 1.11.221. The 
only container provider available at the currently pinned version is 
`TaskRoleCredentialsProvider`, which takes the token as a string and has no 
notion of a token file. 1.11.221 is the first version whose 
`GeneralHTTPCredentialsProvider` re-reads the token file.
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. 
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to