Skip to content

Flux CLI support for parameters from env vars (at least sensitive ones such as password) #2557

Answered by kingdonb
canidam asked this question in General
Discussion options

You must be logged in to vote

There are some ways you can configure your shell to avoid keeping sensitive history, but that doesn't really get at the meat of what you're asking...

The flux bootstrap github and flux bootstrap gitlab commands can both take their credential (the GITHUB_TOKEN or GITLAB_TOKEN) from either: an environment variable, an input at runtime (hidden / using a password prompt that does not echo characters)

I'm sure this is just an oversight in the flux bootstrap git command. If you want to submit a PR that follows the example in other bootstraps, where a missing password gets an interactive prompt presented, and hides the terminal echo for password input, I'm sure that's something we'd be intereste…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kingdonb
Comment options

Answer selected by kingdonb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants