vapor-ware / sctl

SCTL is not End2End encryption, instead SCTL is more of an envelope, in which you store secrets until they are needed, and those secrets should only remain available in plain text while the operation that needs them is active.
GNU General Public License v3.0
8 stars 2 forks source link

Add "sctl read" command. #53

Closed lazypower closed 4 years ago

lazypower commented 4 years ago

sctl read will scan the envelope and attempt to find the NAMED secret. If its found, it will decode, decrypt, and display the secret value. This is to help ease the use-case for reading secrets serialized to state without needing to intercept the values in an intermediary process, similar to the hacky work-around of running sctl run env just to view the secrets.

This feature needs test coverage before merge.