- Newest
- Most votes
- Most comments
Here are a few things you can try to troubleshoot the issue:
-
Check the region: Make sure that the region you're using in the AWS CLI command matches the region of the temporary credentials.
-
Check the IAM user permissions: Make sure that the IAM user associated with the temporary credentials has the necessary permissions to perform the action you're trying to do.
-
Check the time on the CloudDesktop/Mac: Make sure the time on the CloudDesktop/Mac is in sync with the time on the Internet. Sometimes, the temporary credentials are time-sensitive, and if the time on your computer is off, the credentials will not work.
-
Try to use the session token: when you use the AWS CLI command, make sure to use the session token to authenticate as well.
-
Check the credentials path: Make sure that the credentials are saved in the default location, or if you have defined a path in your AWS CLI configuration file.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- How do I resolve the IAM credentials error "The security token included in the request isn’t valid"?AWS OFFICIALUpdated 7 months ago