JackSON: JSON secret keeper in less than 50 lines of code
github.com
github.com
echo '1,$'|vim --cmd "set key=${__password}" ${__filename} -es|grep mysecret
Inside the file, you can do whatever programmatic syntax you want, because from here it's just shell pipelining.
I'd actually love to hear if this is a really bad idea.
(I've yet to read the books.)