Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample for Encryption using Windows Shell
linenumberstrue
call .\bin\js7_encrypt.cmd "--cert=agent.crt" "--in=secret"
@echo result=%JS7_ENCRYPT_VALUE% >> %JS7_RETURN_VALUESVALUES%
 
@rem encrypts the given secret using an Agent's X.509 certificate
@rem consider that for Windows Shell all arguments have to be quoted
@rem output is stored to the "result" variable (key/value pair) that is made available for later jobs in the workflow

...