Attaching Files to Secret Launchers on Windows

Step 1: Creating a Custom Launcher

  1. Navigate to the Secret templates page in Secret Server and click the Launchers tab.

  2. Click Create.

  3. Enter the launcher information as shown below: 

    General Settings

    • Launcher Type: Process

    • Launcher Name: [Enter launcher name]

    • State: Enabled

    • Preserve SSH Client Process: No

    • Use SSH Tunneling with SSH Proxy: No

    Windows Settings

    • Process name: [Full path to file]

    • Process arguments: -file.filenameslug

      -file.filename slug must match the field in the secret template where the attachment is located.

    • Run process as secret credentials: No

    • Use Operating System Shell: No

Step 2: Creating a Custom Template

  1. Create a new template inside Secret Server

  2. Select the Fields tab and add a new field for each file you would like to launch. Make sure that the Data type is set to File.

  3. Select the Mapping tab and click Add mapping.

  4. Select the launcher you created in Step 1:

  5. Map the fields from the templates to the launcher.

  6. Launch the secret.