How to test credentials for AWS Command Line Tools?

You can use AWS CLI command aws sts get-caller-identity to test your credentials from the terminal as shown below.

The output will contain your AWS username and account details. If you are not getting an output or getting an error that means your AWS credentials are not working. You can use the below links to install and configure AWS CLI.

https://cloudaffaire.com/how-to-install-aws-cli/

https://cloudaffaire.com/how-to-configure-aws-cli/

Leave a Reply