Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add option for Role session name to EKS subcommands #8994

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Commits on Oct 19, 2024

  1. Add support for Role Session Name to EKS commands

    This commit adds a --session-name option to the eks get-token and eks
    update-kubeconfig commands. Prior to this, when creating a kubeconfig
    file with eks update-kubeconfig and specifying a --role-arn, there was
    no way to set a custom Role Session Name. This session name was
    hardcoded to "EKSGetTokenAuth". Role session names are included in the
    output of commands like `kubectl auth whoami` and can be used to
    distinguish users connecting to the EKS cluster that are using the same
    --role-arn.
    murshed-panorama committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    2c87cc5 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Update awscli/customizations/eks/update_kubeconfig.py

    Applying changes recommended by @micahhausler
    
    Co-authored-by: Micah Hausler <micahhausler@users.noreply.github.com>
    murshed-panorama and micahhausler authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    1a17c42 View commit details
    Browse the repository at this point in the history