Skip to content

Make refresh_lead_time customizeable #1073

@MaeIsBad

Description

@MaeIsBad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions