Closed
Description
Describe the feature
Currently the expiry time for a token is not exposed when getting a temporary STS token. This property is stored as part of the CredentialsRefreshState is the class below. Could you look at adding this property into ImmutableCredentials or exposing it in some other way.
Use Case
I need to know when I need to refresh temporary STS credentials and don't want to call GetCredentials() before every AWS API call in my application.
Proposed Solution
Add Expiration property into ImmutableCredentials and populate it in the Copy method where it exists.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS .NET SDK and/or Package version used
AWSSDK.SSO 3.7.100.83
Targeted .NET Platform
.NET 7
Operating System and version
Windows 10