The full error message is as follows:

error: getting secrets manager: secrets (code=Unknown): InvalidSignatureException: Signature expired: 20210622T225815Z is now earlier than 20210623T132051Z (20210623T132551Z - 5 min.)
        status code: 400, request id: 86ca5214-558d-41aa-aae8-b458d64bedad
Copy the code

Causes and Solutions

This error may be caused by the fact that the local computer on which you are sending the request is not at the correct time.

After you run the date command, the current time is more than one day different from the actual time.

This is because our test environment is using WSL Windows Ubuntu environment. The computing clock in this environment is not synchronized with Windows, and when you sleep or shut down the computer, the computer clock is misaligned.

So you need to clock sync your operating system.

www.ossez.com/t/aws-sdk-i…