Command Line Arguments

The following command line arguments are supported by Connection Manager during installation only. They should not be used after installation to start the Connection Manager.

  • -disablelocalvault
  • -logo
  • -logocollapsed
  • -ssauth

    The -ssauth option supports three values: local, external and web. For internal authentication types, use web.

  • -ssname
  • -ssurl
  • -reauthenticate

    The -reauthenticate option supports the following two values: y and n

You must use double quotes inside the KEYS parameter because the value of the KEYS parameter is quoted itself.

/quiet mode installation works only with Administrative privileges. If a user without administrator privileges runs the MSI with /quiet mode, nothing happens. If you would like to install the latest version of Connection Manager via quiet mode installation, you must first remove the previous version before installing the new one.

When installing Connection Manager via command line options to set the Secret Server URL, these options will only be applied to the first user who logs in to Connection Manager. If you would like to make them the default options, you can use the following workarounds:

  1. Prior to their initial log in, new users need to run Connection Manager via command line with args -ssurl "your ss url" -ssname "your ss name" -ssauth "your auth type"

  2. Prior to their initial login, each user admin should create a file in path C:\ProgramData\Delinea\Connection Manager\repository.dat with the following content:

Copy
{     "$type":"Delinea.ConnectionManager.Common.Models.SecretServerRepository, Delinea.ConnectionManager.Common",
    "Url":"Your SS url",
    "PlatformUrl":null,
    "UserName":null,
    "Password":null,
    "Domain":null,
    "AuthType":"Local",
    "TwoFactorAuthType":"None",
    "PinCode":null,
    "StoreCredentialsInLocalStorage":false,
    "SecretTempletes":null,
    "LoadAllTemplates":true,
    "Token":null,
    "PlatformToken":null,
    "ConnectionManagerSettings":null,
    "Id":null,
    "Name":"your SS name",
    "Type":"SecretServer",
    "IsAutoload":false
}

If your command line parameter includes any spaces or parentheses, be sure to place quotation marks around Delinea.ConnectionManager.WindowsInstaller.msi

For example: "C:\Users\MyUser\Downloads\Connection Manager\Delinea.ConnectionManager.2.5.0.WindowsInstaller.msi" /quiet RUNCM=runCM

Disable Local Vault on Installation

Use this argument to disable the local vault on installation:

-disablelocalvault

Example

Copy
Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-disablelocalvault "

Enable/Disable Auto Reauthenticate

This feature provides the option to configure vault reauthentication behavior in Connection Manager. Users may keep the existing behavior that automatically restarts the authentication flow or force a fresh login when their vault session/refresh tokens have expired--mimicking the existing web API behavior.

The default value is -reauthenticate y. If the value is set to -reauthenticate n, the behavior will be more similar to the web API which forces a fresh login. The -reauthenticate n option is beneficial for users who use SAML configuration through an external identity provider with a longer session/refresh length and enables audit logs to correctly generate upon logout.

Use this argument to disable auto reauthenticate on installation:

-reauthenticate n

Example

Copy
Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-ssurl ""https://secretserver.example.com/ss"" -ss-name ""new server"" -reauthenticate n"

Specify Custom Logo Images to Copy to the Proper Location

The paths to the custom logo files, on Windows, are as follows:

  • C:\ProgramData\Delinea\Connection Manager\Resources\logo.png

  • C:\ProgramData\Delinea\Connection Manager\Resources\logo_collapsed.png

Use these arguments to specify custom logo images to be copied to the proper location:

-logo, -logocollapsed

Example

Copy
Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-logo ""/Library/Application Support/Delinea2/Connection Manager/Resources2/logo.png"" -logocollapsed ""/Library/Application Support/Delinea2/Connection Manager/Resources2/logo_collapsed.png"""

The path to the custom logo files, on a Mac, is as follows:

  • Users/Shared/Application Support/Delinea/Connection Manager/Resources

Two files are necessary to use custom logos:

  1. Logo.png - 50 x 250 pixels
  2. Logo_collapsed.png - 50 x 100 pixels

Delinea Platform Connection

Copy
Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-ssurl ""https://mycompany.delinea.app"" -ssname ""MyCompany Platform"" -ssauth web"

 

Pre-create Secret Server Connection

Use these arguments to pre-create a Secret Server local or web connection on installation:

Copy
-ssurl, -ssname, -ssauth

External Browser Connection

Example

Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-ssurl ""https://secretserver.example.com/ss"" -ss-name ""new server"" -ssauth external"

Example Powershell Command Line

Copy
.\Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS='"-ssurl https://secretserver.example.com/ss -ssname ""new server"" -ssauth external"'

Local Connection

Example

Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-ssurl ""https://secretserver.example.com/ss"" -ss-name ""new server"" -ssauth local"'

Example Powershell Command Line

Copy
.\Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS='"-ssurl https://secretserver.example.com/ss -ssname ""new server"" -ssauth local"'

Web Connection

Example

Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS="-ssurl ""https://secretserver.example.com/ss"" -ss-name ""new server"" -ssauth web"

Example Powershell Command Line

Copy
.\Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS='"-ssurl https://secretserver.example.com/ss -ssname ""new server"" -ssauth web"'

Disable Local Vault

Example Powershell Command Line

Copy
`.\Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS='"-disablelocalvault"'

Example Powershell Command Line

Copy
.\Delinea.ConnectionManager.WindowsInstaller.msi /quiet RUNCM=runCM KEYS='"-logo ""/Library/Application Support/Delinea2/Connection Manager/Resources2/logo.png"" -logocollapsed ""/Library/Application Support/Delinea2/Connection Manager/Resources2/logo_collapsed.png"""'