Property Encrypter

This tools is distributed as part of the framework package. It allows to users to encrypt values via command line as the framework does it internally. The execution script run-property-encrypter.bat (or run-property-encrypter.sh for linux) is located under MV_HOME/tools/ directory.

Examples of use:

  1. %MV_HOME%/tools/run-property-encrypter.bat

    This will ask for property key and value input, then show the encrypted output value (ready to copy/paste)

  2. %MV_HOME%/tools/run-property-encrypter.bat "password=true"

    This will ask for property key, password value input and password confirmation (sensitive data won't be echoed), then show the encrypted output value (ready to copy/paste).

  3. %MV_HOME%/tools/run-property-encrypter.bat "propertyKey=PASSWORD"

    This will ask for property value input, then show the encrypted output value(ready to copy/paste)

  4. %MV_HOME%/tools/run-property-encrypter.bat "propertyKey=PASSWORD" "propertyValue=admin"

    This will show the encrypted output value (ready to copy/paste actions)

  5. %MV_HOME%/tools/run-property-encrypter.bat "propertyKey=PASSWORD" "propertyFile=/midvision/projects/PROJECT/j2ee/config/server.env.inst.app.dict"

    This will load the property and look up the property value using the provided key, then show the encrypted output value (ready to copy/paste)

  6. %MV_HOME%/tools/run-property-encrypter.bat "propertyFile=C:/midvision/projects/PROJECT/j2ee/config/server.env.inst.app.dict"

    This will load the property, ask for property key input and look up the property value, then show the encrypted output value (ready to copy/paste)