butler
butler copied to clipboard
Enhancement Request: User / password secure handling
Description
Ideally there should be a prompt or method to read a file for user/password handling. Having this in my bash history isn't ideal.
Crude hackish workaround
./butler jobs export --server https://udajenkins:8444 --username mtdeguzis --password $(read -s password && echo $password)
This would be solved by #6. When it is merged the username flag may also be provided via environment variable JENKINS_USER and the password via JENKINS_PASSWORD.
I agree the proposed solution by @icereed in #6
@mtdeguzis to do the way you want you can use https://www.passwordstore.org/ then $(pass your-secret-name)