hiera-eyaml icon indicating copy to clipboard operation
hiera-eyaml copied to clipboard

Edit should encrypt file if it is not already encrypted.

Open KedneckInc opened this issue 7 years ago • 0 comments

In the project I'm working on, we have yaml files that are pre-set with default passwords for development use. It would be useful if the "eyaml edit" command would go ahead and encrypt the file even though no changes have been made. Perhaps by checking for delimiters for decrypted passwords?

As a workaround, we use:

eyaml encrypt -e FILE > TEMPFILE
mv TEMPFILE FILE

KedneckInc avatar Nov 24 '17 20:11 KedneckInc