aws / aws/aws-cli

aws eks get-token support external-id

Open
#5,942 15 comments 21 reactions 0 assignees View on GitHub
customization eks-get-token feature-request has-pr needs-discussion p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
There is no way to refer to an external ID while assuming a role with aws cli v2.

**Describe the solution you'd like**
I should be able to define the external ID like this

```yaml
apiVersion: client.authentication.k8s.io/v1alpha1
command: aws
args:
- --region
- ap-southeast-2
- eks
- get-token
- --cluster-name
- myeks
- --role-arn
-
- --external-id
- 11111111
```

**Describe alternatives you've considered**
Disable external ID in the IAM role trust relationship policy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.