Description
You can encrypt your configuration and properties files using the GenRocket runtime encrypt file command. Only the GenRocket Runtime can decrypt files you've encrypted with this command.
Commands
Steps:
1. Encrypt your configuration file
- Open your terminal application
- Navigate to the directory where your configuration file is located
- Use the genrocket -ef command and the file name
- You will now have a copy of your config file that is encrypted with the extension.gref
- You can now delete or move your unencrypted config file to a secure location
~/Downloads $ genrocket -ef /Users/stephenchisa/dev/config.xml
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.xml.gref at path /Users/stephenchisa/dev
~/Downloads $
2. Update Resources and Download Profile
- Login to GenRocket Web
- Update your configuration resource to match your new configuration file
- Download your Profile.grp and move it to your .genrocket directory
- You can now use your encrypted configuration file with your Scenarios