aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
Detect clock skew
Describe the feature
Implement clock skew detection:
- the first time a response for a service comes back with a server time (generally in a header), record that value if it differs from local time past a certain amount
- respect the time difference for all future time-based operations (credential caching, signing, etc.)
- this skew value persists at the client level
Related: https://github.com/aws/aws-sdk-go-v2/issues/1952.
Several SDKs support this today. Kotlin recently added it: https://github.com/awslabs/smithy-kotlin/pull/972.
Use Case
n/a
Proposed Solution
No response
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
AWS Go SDK V2 Module Versions Used
n/a
Go version used
n/a