soto-core
soto-core copied to clipboard
RotatingCredentialProvider: when credential is about to expire, still use credential
Currently when a credential is about to expire in RotatingCredentialProvider
it calls refreshCredentials
which returns a EventLoopFuture
which is fulfilled with the new credentials. As current credentials are still valid we should just return them.