An error occurred InvalidClientTokenId when calling the GetCallerIdentity operation The security token included in the request is invalid

0 votes

Hi Guys,

I am trying to test the AWS credentials in my Windows system. But it is showing me the below command.

$ aws sts get-caller-identity
An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.            
Sep 22, 2020 in AWS by akhtar
• 38,170 points
4,868 views

1 answer to this question.

0 votes

Hi@akhtar,

I think there is a problem with your AWS credentials. So check the credentials and set it properly using the aws configure command.

$ aws configure
answered Sep 22, 2020 by MD
• 95,180 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer