jfuechsl commented on issue #4301:
URL: https://github.com/apache/arrow-rs/issues/4301#issuecomment-1568243904

   Understood, thanks for the elaboration.
   
   Unfortunately, I realised that the ECS credentials fix does not work. The 
reason is that the metadata endpoint is still being used in the context of the 
EC2 credentials provider `InstanceCredentialProvider`, which further appends a 
path to the endpoint 
https://github.com/apache/arrow-rs/blob/ea008922445d84d957cf3f89df793187c22d82d8/object_store/src/aws/credential.rs#L429
   
   A proper fix would need to adapt the credentials resolution logic in 
`AmazonS3Builder::build` by including a ECS specific provider (thus mirroring 
the official resolution chain in the AWS SDKs).


-- 
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]

Reply via email to