Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
EC2CredentialsFetcher refreshes credentials too eagerly #1893
In this SDK, EC2 Instance Profile credentials are refreshed if they are within 15 minutes of expiration, as seen here:
I believe this is an issue for a couple reasons:
I think this 15 minute window should be dropped to 5 minutes to match the other libraries and enable conservative token policies.