Jira (BOLT-1530) Puppet secret encrypt should allow for secrets to be entered without being echoed

2 views
Skip to first unread message

A... Ponert (JIRA)

unread,
Dec 6, 2019, 11:40:35 AM12/6/19
to puppe...@googlegroups.com
A... Ponert created an issue
 
Puppet Task Runner / Improvement BOLT-1530
Puppet secret encrypt should allow for secrets to be entered without being echoed
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: Security
Created: 2019/12/06 8:39 AM
Priority: Normal Normal
Reporter: A... Ponert

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages