Skip to content

Conversation

Nevon
Copy link

@Nevon Nevon commented Sep 30, 2025

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.

Allows using the current session profile to generate the config, while
using a different profile within the configuration.

Fixes aws#9759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant