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 23, 2020 in AWS by akhtar
• 38,240 points
28,141 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 23, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest.

Hi@akhtar, You need to use the tag-resource method instead ...READ MORE

answered Dec 8, 2020 in AWS by MD
• 95,460 points
1,299 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP