Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make refresh_lead_time customizeable #1073

Open
MaeIsBad opened this issue Jul 9, 2024 · 0 comments
Open

Make refresh_lead_time customizeable #1073

MaeIsBad opened this issue Jul 9, 2024 · 0 comments

Comments

@MaeIsBad
Copy link

MaeIsBad commented Jul 9, 2024

Environment

  • ExAws from the main branch(8020fa1)

Current behavior

The ExAws.Config.AuthCache module configures the refresh_lead_time as an attribute, preventing users from modifying it

Expected behavior

Users can configure the token refresh leeway

Additional Notes

An option like this is exposed in the official aws rust sdk as buffer_time

https://docs.rs/aws-config/latest/aws_config/identity/struct.LazyCacheBuilder.html#method.buffer_time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant