Skip to content

Provide a way to specify a command to obtain password for --password  #1182

Open
@smktpd

Description

@smktpd

Purpose of the feature (why)

We have poor administrators and they've configured oidc server poorly, so it doesn't support the browser redirect to the localhost listener, so browser auth fails.
So what I am left with is specifying my password in CLI.
I don't want to hardcode my password in kubeconfig files and yet I don't want to write-in password every 30 minutes (we have multiple different clusters that I have to switch between and tokens don't live for long, so on average I have to type in my password every 30 minutes).

Your idea (how)

Add an arg like --password-command: its value should be treated as a command to execute and the output of that command should then be used as password.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smktpd

        Issue actions

          Provide a way to specify a command to obtain password for `--password` · Issue #1182 · int128/kubelogin