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 11 in AWS by akhtar
• 17,690 points
143 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.

answered Jul 11 by MD
• 40,740 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
• 57,550 points
1,337 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
1,008 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
• 51,890 points
132 views
0 votes
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
7,500 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 in AWS by MD
• 40,740 points
691 views