Description
The following command line options instruct GenRocket to encrypts a file into GenRocket's supported encryption. Once a file has been encrypted, it will end with .gref (.gref => GenRocket Encrypted File). When the GenRocket reads a file ending in .gref it will automatically unencrypt the file once loaded in the computer's memory. To learn more, go to How do I encrypt my database connection files?
Commands
-ef <rawFile> --encrypt-file <rawFile>
Required Parameters
- <rawFile> - the location and name of the file to be encrypted.
Example Raw File Being Encrypted
The config.properties file is encrypted to config.properties.gref (your runtime version numbers may be different).
~/Downloads $ genrocket -ef /Users/jdoe/Acme/resource/config.properties
GenRocket Runtime belongs to https://app.genrocket.com
GenRocket Runtime Version: 3.5.30
GenRocket Version: 3.5.30.1
GenRocket Engine Version: 3.5.30.0
GenRocket Generator Runtime Version: 3.5.30.0
GenRocket Receiver Runtime Version: 3.5.30.0
GenRocket GRepositoryClient Runtime Version: 3.5.30.0
GenRocket GRepositoryServer Runtime Version: 3.5.30.0
A copy of your file has been encrypted to config.properties.gref at path /Users/jdoe/Acme/resource
~/Downloads $