ametel01 commented on issue #23321:
URL: https://github.com/apache/datafusion/issues/23321#issuecomment-4884792468

   I'd like to work on this.
   
   My plan is to add expiry-aware caching to the CLI's `S3CredentialProvider`: 
cache the converted `AwsCredential`, reuse it while the AWS SDK credential is 
still valid, and refresh it when it is expired or close to expiry. I’ll also 
try to seed the cache from the initial credential fetch in 
`CredentialsFromConfig::try_new()` so setup does not immediately trigger a 
second provider call.
   
   I’ll add focused tests with a fake AWS credential provider to verify cached 
reuse, refresh after expiry / near-expiry, and the non-expiring 
static-credential case.


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