aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

Add exec-profile arguments to eks update-kubeconfig

Open Nevon opened this issue 2 months ago • 0 comments

Issue #, if available: #9759

Description of changes: Adds --exec-profile argument to eks update-kubeconfig. When set, this profile will be set as AWS_PROFILE within the generated kubeconfig. This allows for using one profile (the session profile) to generate the config, without requiring that same profile for connecting to the cluster or for assuming the --role-arn.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I was unable to find any documentation on how to set up this repository for local development, so I'm not sure that my added unit test actually passes. We shall see what the CI says.

Nevon avatar Sep 30 '25 13:09 Nevon