Skip to main content

Add scripts

Store your custom scripts in the local user-scripts sub-directory of any DigiCert agents that will run them. Find this sub-directory at the top level of the directory where you installed each DigiCert agent.

To start using a new script, use the Add script function in DigiCert​​®​​ Trust Lifecycle Manager to configure the details for it, including the script type, filename in the user-scripts sub-directory, and an optional description for it.

Add a script

To make an agent script available in Trust Lifecycle Manager:

  1. In the Trust Lifecycle Manager main menu, select Discovery & automation tools > Agents.

  2. From the More actions dropdown at top, select Add script.

  3. Fill out the Add script form:

    • Name: Enter a user-friendly name for referencing the script.

    • Operating system: Select the applicable operating system (Linux or Windows).

    • Script type: Select the applicable script type.

    • Script filename: Enter the script's filename in or path relative to the DigiCert agent's user-scripts sub-directory.

      For example, if your script is named "myscript.sh" and is stored directly in the agent's user-scripts sub-directory, enter myscript.sh here. If you stored the script within an additional sub-directory called "custom-apps" in the user-scripts sub-directory, enter custom-apps/myscript.sh instead.

    • Description (optional): Enter an optional description for the script to help identify it when working with DigiCert agents and agent-based automations in Trust Lifecycle Manager.

    For script type Custom automation, an additional input field appears for you to fill out:

  4. Select Add to save the agent script in Trust Lifecycle Manager.

What's next

After adding an agent script in Trust Lifecycle Manager, you can assign it to an agent.