You can use AWS CLI command aws sts get-caller-identity to test your credentials from the terminal as shown below.
1 2 |
## Test your AWS credentials aws sts get-caller-identity |
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/