| When trying to encrypt passwords using bolt secret encrypt it would be really great to have an option to prompt for the secret and hiding echo, instead of just throwing it in as an argument. I 'm currently using a wrapper shell script, but having it built-in would be great. fyi: this is what I use instead
stty -echo |
printf "Enter secret: " |
read SECRET |
stty echo |
printf "\n" |
echo $(bolt secret encrypt $SECRET) |
unset SECRET
|
|