Error checking AWS STS access cannot get role ARN for current session InvalidClientTokenId The security token included in the request is invalid

0 votes

Hi Guys,

I am trying to create an EKS Cluster in AWS. But it is showing me the below error.

Error: checking AWS STS access – cannot get role ARN for current session: InvalidClientTokenId: The security token included in the request is invalid. status code: 403, request id: 51f0e548-f130-4073-b129-27f8c5d49df4

How can I solve this error?

Jul 12, 2020 in AWS by akhtar
• 38,260 points
15,230 views

1 answer to this question.

0 votes

Hi@akhtar,

You got this error because your IAM user don't have permission to create EKS Cluster. To avoid this error, you can create one role or IAM user with EKS Cluster permission. So that your eksctl command can log in to your AWS account.

For a better understanding, refer to the AWS Training in Aurangabad.

answered Jul 12, 2020 by MD
• 95,460 points

Have same issue. Can you give any hints how to do that? I was able to create a role EKS Cluster. But don't know what to do next...

Having an error while: 

eksctl get clusters

Error: checking AWS STS access – cannot get role ARN for current session: InvalidClientTokenId: The security token included in the request is invalid.

    status code: 403, request id: 331bf30c-3b51-4e9a-a339-4f0946996711

After you configured your role in AWS, you need to update your credentials in your local system using aws configure command.

Related Questions In AWS

0 votes
1 answer

Do you get charged for a security group in AWS EC2?

There is no charge applicable to Security ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 58,020 points
13,064 views
0 votes
1 answer

What is the job role for a AWS pre-sales architect?

The AWS Pre Sales Architect will be ...READ MORE

answered Nov 30, 2018 in AWS by Aniket
4,078 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,396 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,477 views
0 votes
1 answer

ERROR 1045 (28000): Access denied for user in AWS.

Hi@akhtar, You need to reset the password for this. ...READ MORE

answered Apr 2, 2020 in AWS by MD
• 95,460 points
7,637 views
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