rhyeal / aws-rotate-iam-keys

Rotate your IAM Keys to be in compliance with security best practices
GNU General Public License v3.0
339 stars 132 forks source link

support rotating govcloud keys #65

Closed fawaf closed 1 year ago

fawaf commented 2 years ago
waf % aws-rotate-iam-keys --profile govcloud
Rotating keys for profiles: govcloud
Verifying configuration
Verifying credentials

An error occurred (InvalidClientTokenId) when calling the ListAccessKeys operation: The security token included in the request is invalid.
waf %
mmrwoods commented 1 year ago

@fawaf Sorry about the long, long delay following up on this. This looks like a permissions issue and not specifically related to govcloud. I can't find any documentation that suggest rotating keys on govcloud is any different to standard aws accounts, and I don't have a govcloud account so I can't reproduce.

Please re-open it this remains an issue, add any additional information you have that might aid investigation.