Open MaeIsBad opened 4 months ago
main
The ExAws.Config.AuthCache module configures the refresh_lead_time as an attribute, preventing users from modifying it
ExAws.Config.AuthCache
refresh_lead_time
Users can configure the token refresh leeway
An option like this is exposed in the official aws rust sdk as buffer_time
buffer_time
https://docs.rs/aws-config/latest/aws_config/identity/struct.LazyCacheBuilder.html#method.buffer_time
Environment
main
branch(8020fa1c0a7221c3931a91ec8089e52c868667c0)Current behavior
The
ExAws.Config.AuthCache
module configures therefresh_lead_time
as an attribute, preventing users from modifying itExpected 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