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

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

Open
smktpd opened this issue Nov 12, 2024 · 0 comments
Open

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

smktpd opened this issue Nov 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@smktpd
Copy link

smktpd commented Nov 12, 2024

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.

@smktpd smktpd added the enhancement New feature or request label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant