Attaching Files to Secret Launchers on Windows
Step 1: Creating a Custom Launcher
-
Navigate to the Secret templates page in Secret Server and click the Launchers tab.
-
Click Create.
-
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
-
Create a new template inside Secret Server
-
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.
-
Select the Mapping tab and click Add mapping.
-
Select the launcher you created in Step 1:
-
Map the fields from the templates to the launcher.
-
Launch the secret.