-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: nuxeoctl start/stop/admin
-
Sprint:DevOps Sprint 11
Since those commands work with sensitive values (to be ciphered for instance), they should be usable in Shell pipes (ie. be able to read from stdin).
Expected commands:
$ ./bin/nuxeoctl -q config --get server.status.key|tr -d '\n'|./bin/nuxeoctl -q decrypt $(./bin/nuxeoctl -q encrypt testPassword) > testPassword $ echo -n "value1"|./bin/nuxeoctl -q config --encrypt --set test1 $ echo -n "raw"|./bin/nuxeoctl -q config --get test1 > {$$ukkvaLm5rernS+/IqY44ww==} $ grep test1 bin/nuxeo.conf > test1={$$ukkvaLm5rernS+/IqY44ww==} $ ./bin/nuxeoctl -q config --get server.status.key|tr -d '\n'|./bin/nuxeoctl -q config --get test1 > value1