How to test credentials for AWS Command Line Tools

Is there a command/subcommand that can be passed to the aws utility that can 1) verify that the credentials in the ~/.aws/credentials file are valid, and 2) give some indication which user the credentials belong to? I’m looking for something generic that doesn’t make any assumptions about the user having permissions to IAM or any … Read more