butler icon indicating copy to clipboard operation
butler copied to clipboard

Enhancement Request: User / password secure handling

Open mtdeguzis opened this issue 6 years ago • 2 comments

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)

mtdeguzis avatar Jun 15 '18 20:06 mtdeguzis

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.

icereed avatar Nov 14 '18 10:11 icereed

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)

digitalfredy avatar Aug 26 '20 19:08 digitalfredy