1.8.4. Command line tool for automated setup processes

The new Command Line Tool ppwutil.exe is an executable File that can be found under $CADENAS\bin\x86 . They can be used in automated setup processes to change different values according to of the installation in the configuration files of CADENAS let. It is possible to enter passwords of users and Generate passwords for databases or API accesses without To take a detour via graphical tools.

Right-click on the file in Windows Explorer and select Properties. The small Windows information window opens, in which you can enter further arguments in the input field at the top.

The following arguments are possible:

Input

  • stdin: reads a line from stdin

  • value: Alternative to stdin, transfer via command line. One of the two must be present.

Issue

  • stdout: outputs result to stdout (for control or other scripting)

  • config: Path to the config ($CADENAS_SETUP/xyz.cfg). SITESETUP and diffing are taken into account here, but NO active pappclient.cfg/CADENAS_APPSERVER.

  • block: Name of the block

  • item: Name of the item

  • replace: Argument is used as a replacement parameter. This can be used to replace substrings. However, the parameter must be in the config beforehand.

  • template: this specifies the entry template on the command line

ppwutil.exe -encryptPassword -value hallo - config $CADENAS_SETUP/odbc.cfg -block PLINKDB -item DBPASS

ppwutil.exe -encryptPassword -value hallo - config $CADENAS_SETUP/psolrights.cfg -block DB -item dbopenid -replace pwd

ppwutil.exe -encryptPassword -value hallo - config $CADENAS_SETUP/psolrights.cfg -block DB -item dbopenid -replace pwd -template "openid,1,https://login.microsoftonline.com/12-34-56/,(...),pwd"

Example 1.1. Various input options