AAPI Login.ctmai

Version 1
    Share This:

    Invoke Control-M Automation API session\login service to retrieve an automation API session token without exposing credentials or storing credentials in plain text.

    By default this job type includes output handling to save the session token to a file and also to a runtime parameter.

    Users can add their own subsequent execution steps to perform other actions such as running other API services passing the {{TOKEN}} runtime parm, or running a setvar command line such as:
    ctmvar -action set -var %%\TOKEN -varexpr {{TOKEN}}


    Hope this is helpful to someone!