Delinea Secret Server
Overview
Delinea Secret Server is a service for securely storing and accessing secrets, such as API keys, passwords, certificates, and cryptographic keys. This guide describes how to integrate Secret Server with StrongDM.
Secret store integrations allow you to use your existing third-party secret stores with StrongDM. Your credentials are stored in a service that is controlled by you, and those credentials are never transmitted to StrongDM in any form. If you would like to learn more about how the Secret Store integration works and why you might wish to use it, please read the Secret Stores Reference.
Prerequisites
The following items are required to integrate Secret Server with StrongDM:
StrongDM account with the Administrator permission level
Healthy StrongDM gateway or relay to allow authentication with Secret Server
Delinea Secret Server account set up with a user's username and password, and at least one secret to a resource
Correct path(s) to the secret(s) stored in Secret Server
Configuration
To integrate StrongDM with Delinea Secret Server, follow the steps in this section to set up your Secret Server account and secrets, configure your gateway or relay, and create the secret store in StrongDM.
Set up Secret Server account and secrets
Log in to your Secret Server account. For the purposes of this guide, we log in with the Local Login option.
Go to Administration > Users, Roles, Access > User Management.
Ensure that you have a user set up with which the StrongDM service can authenticate to Delinea. The user should have a username and password, which are the credentials needed to access secrets stored in Secret Server. Additionally, the user must have the Application Account option set to Yes in order for it to work with StrongDM. For background on Application Accounts, see Creating Users in the Delinea documentation.
Go to the Secrets section.
Ensure that you have an existing secret. If you do not, click Create Secret to add one.
Select a secret and notice the URL in your web browser's address bar. It should look similar to
https://example.secretservercloud.com/app/#/secret/7/general, with a number value, such as7. The number represents the key to the secret stored in Secret Server. Remember the URL for when you are done with configuration and want to connect to a StrongDM resource.
Authentication modes
StrongDM auto-detects which Delinea authentication mode to use based on the Server Address that you provide. Please see the Configure your gateway or relay section.
Use Secret Server mode if you run standalone Secret Server Cloud or Secret Server On-Premises.
Use Delinea Platform mode if your organization has upgraded to the Delinea Platform and wants to authenticate with a Platform-native service user instead of maintaining a separate Secret Server Application Account.
Secret Server mode (default)
Secret Server mode is used when the DELINEA_SERVER_URL (the Server Address) is a Secret Server Cloud or on-premises URL. DELINEA_USERNAME and DELINEA_PASSWORD are the Secret Server user account credentials.
Delinea Platform mode
Delinea Platform mode is used when DELINEA_SERVER_URL (the Server Address) is a Delinea Platform tenant URL (for example, https://your-tenant.delinea.app). In this mode:
DELINEA_USERNAMEholds the Platform OAuth client ID.DELINEA_PASSWORDholds the Platform OAuth client secret. StrongDM exchanges these for an access token via the tenant's identity service (client_credentialsgrant,xpmheadlessscope), and then queries the tenant's Vault Broker to locate the backing Secret Server. Both lookups happen on the configured gateway or relay; no Delinea credentials are sent to StrongDM.
Prerequisites for Platform mode
The Platform tenant must have Secret Server Cloud Platform Identity Integration enabled. See Connecting to Secret Server Cloud in the Delinea documentation.
You must have a Platform OAuth client with the
xpmheadlessscope; the client ID and secret are what you supply viaDELINEA_USERNAMEandDELINEA_PASSWORD. To create this service user, see Adding Users in the Delinea documentation. For background on the underlying token exchange, see Using Secret Server APIs from Delinea Platform.
Configure your gateway or relay
To allow communication with Secret Server, StrongDM needs to know what credentials to use. You can pass credentials by either provisioning credentials to the StrongDM node (gateway, relay, or proxy worker), or you can configure your gateway or relay environment with properties as environment variables.
Node credentials provisioning method (recommended)
You can provision DELINEA_USERNAME and DELINEA_PASSWORD to the node instead of setting them as environment variables.
On the gateway or relay, run:
Each value is entered at a hidden prompt and never appears in the environment file. A provisioned credential takes precedence over an environment variable of the same name.
This applies in both authentication modes. In Delinea Platform mode, the same two variables carry the Platform OAuth client ID and client secret.
Note that DELINEA_SERVER_URL and DELINEA_API_TENANT are configuration, not credentials, and are read from the environment only.
Environment variables remain fully supported and no migration is required. For more information, please see Provision Node Credentials.
Environment variables method
Use the following steps to configure your gateway or relay environment with properties as environment variables.
To allow communication with Secret Server, StrongDM needs to know what credentials to use. You can pass credentials by either provisioning credentials to the StrongDM node (gateway, relay, or proxy worker), or you can configure your gateway or relay environment with properties as environment variables.
Node credentials provisioning method (recommended)
You can provision DSV_CLIENT_ID and DSV_CLIENT_SECRET to the node instead of setting them as environment variables. On the gateway or relay, run:
Each value is entered at a hidden prompt and never appears in the environment file. A provisioned credential takes precedence over an environment variable of the same name. You must still restart the service.
Note that DSV_TENANT and DSV_TLD are configuration, not credentials, and they are read from the environment only. Alternatively, you can set them in the Admin UI, which takes precedence over the environment variable.
Environment variables remain fully supported and no migration is required. See Provision Node Credentials for container support and how to migrate existing environment variables.
Environment variables method
Use the following steps to configure your gateway or relay environment with properties as environment variables.
The table shown includes the environment variables that Delinea supports. Add all required environment variables on your relay or gateway. For DELINEA_SERVER_URL and DELINEA_API_TENANT, you must set one but not both. Open the environment file for editing. The default location is /etc/sysconfig/sdm-proxy for gateways and relays, or /etc/sysconfig/sdm-worker for proxy clusters. Add or edit the following environment variables:
DELINEA_USERNAME
Required
Credential identifier that StrongDM uses to authenticate to Delinea. In Secret Server mode, this is the Secret Server user account username. In Delinea Platform mode, this is the Platform OAuth client ID. See Authentication modes.
DELINEA_PASSWORD
Required
Credential secret that StrongDM uses to authenticate to Delinea. In Secret Server mode, this is the Secret Server user account password. In Delinea Platform mode, this is the Platform OAuth client secret. See Authentication modes.
DELINEA_SERVER_URL
Optional
URL of your Delinea instance. Two URL shapes are supported and auto-detected: A Secret Server URL (such as https://example.secretservercloud.com or https://secretserver.example.com), or a Delinea Platform tenant URL (such as https://your-tenant.delinea.app). When a Platform URL is supplied, StrongDM authenticates against the tenant's identity service and discovers the underlying Secret Server URL automatically. This is only needed if you are using an on-premises version of Delinea or Thycotic, where you are not logged in to any Software as a Service (SaaS) but you are logged in to your own server. It is used if you did not already set the server address in the Admin UI when adding the secret store.
DELINEA_API_TENANT
Optional
(Secret Server Cloud only): Your Delinea Secret Server Cloud tenant name, which you can find in your Secret Server URL (such as https://example.secretservercloud.com), where the tenant name is "example."
Leave this blank when using a Delinea Platform tenant URL or an on-premises Secret Server URL. It is used if you did not already set the tenant name in the Admin UI when adding the secret store.
Create a secret store in StrongDM
Log in to the StrongDM Admin UI.
Go to Settings > Secrets Management and to the Secret Stores tab.
Click Add secret store.
On the Add Secret Store form that displays, set all the required secret store properties.

Click Create secret store.
If you have configured the relay or gateway server correctly for Secret Server access and authorization, you can see the green online indicator.
Secret store properties
Display Name
Required
The name for this secret store integration that is displayed throughout StrongDM
Type
Required
The type of secret store; select Delinea Secret Server
Server Address
Optional
The URL of your Delinea instance. Two URL shapes are supported and auto-detected: A Secret Server URL such as https://example.secretservercloud.com or https://secretserver.example.com or a Delinea Platform tenant URL such as https://your-tenant.delinea.app. When a Platform URL is supplied, StrongDM authenticates against the tenant's identity service and discovers the underlying Secret Server URL automatically. If you already set environment variables on your gateway or relay, the server address is the same property as the DELINEA_SERVER_URL environment variable; what you set in the Admin UI takes precedence over the environment variable
Tenant Name
Optional
(Secret Server Cloud only): Your Delinea Secret Server Cloud tenant name, which you can find in your Secret Server URL such as https://example.secretservercloud.com, where the tenant name is "example".
Leave this blank when using a Delinea Platform tenant URL or an on-premises Secret Server URL. If you already set environment variables on your gateway or relay, the tenant name is the same property as the DELINEA_API_TENANT environment variable; what you set in the Admin UI takes precedence over the environment variable
Configuration is now complete.
Connect to a StrongDM Resource
Now that you have set up secret store integration, you can use the Delinea Secret Server secret store to connect to different StrongDM resources.
In the Admin UI, go to Infrastructure > Datasources.
Click Add Resource.
On the form that displays, set the properties for your database resource, including the secret store properties
When all required fields are complete, click Create.
When the resource is ready, the Health icon indicates a positive, green status.
Delinea Secret Server properties
Secret Store
Type of secret store. Select Delinea Secret Server.
Username (path)
Path to your secret key in the format <SECRET_ID_OR_PATH>?key=<KEY>. Can be either a numeric ID or folder path.
Numeric ID format: 7?key=Username where 7 is the secret ID found in the Secret Server URL.
Path-based format: /StrongDM/RDP/jdoe?key=Username where the path references a secret by its folder location. Supports $SDM_USERNAME placeholder for Identity Aliases (for example, /StrongDM/RDP/$SDM_USERNAME?key=Username).
Password (path)
Path to your secret key in the format <SECRET_ID_OR_PATH>?key=<KEY>. Can be either a numeric ID or folder path.
Numeric ID format: 7?key=Password where 7 is the secret ID found in the Secret Server URL.
Path-based format: /StrongDM/RDP/jdoe?key=Password where the path references a secret by its folder location. Supports $SDM_USERNAME placeholder for Identity Aliases (for example, /StrongDM/RDP/$SDM_USERNAME?key=Password).
Path-based Secret Lookup
By default, Delinea Secret Server references use numeric secret IDs. StrongDM supports path-based secret lookup, which allows you to reference secrets using their folder path instead of numeric IDs. This enables advanced use cases like Identity Aliases, where each user can have their own credential without maintaining a mapping of users to secret IDs.
Prerequisites
Node version: Path-based secret lookup requires gateways and relays running the version that supports this feature. Older nodes will return a parse error for path-based references.
Folder structure: Secrets must be organized in at least one folder. Root-level secrets with numeric names (for example,
/1234) will be interpreted as numeric secret IDs.Duplicate secret names: Disable the "Allow Duplicate Secret Names" option in Secret Server (in Administration > Options > Security > Duplicate Secret Names). Behavior with duplicate names in the same folder is unpredictable.
Folder permissions: The StrongDM account needs at minimum View permission on the folder. For security, restrict Create, Edit, and Rename permissions to administrators only.
Limitations and Best Practices
Secret names must be unique within a folder: If duplicate secret names exist in the same folder, StrongDM's path lookup behavior is unpredictable. Always prevent duplicate names.
Folder access control is critical: Anyone with Create, Edit, or Rename permissions in the folder can name a secret after another user's alias and intercept that user's credential. Lock down folder permissions to administrators.
Alias naming: Use plain usernames for aliases (for example,
aglickorbbelcher). Avoid characters like backslashes, as they may be interpreted as folder separators.Healthcheck requires matching secret: If the resource uses a healthcheck username, that username must have a corresponding secret in the configured folder. For example, if the healthcheck username is
healthcheck, a secret namedhealthcheckmust exist.Renaming or moving secrets breaks access: If a secret is renamed or moved to a different folder, the corresponding user will no longer be able to connect and will receive a "secret not found" error. This is by design and surfaces immediately.
Real login in Username field: Store the actual login (for example,
CORP\aglick-adm) in the secret's Username field, not in the Identity Alias field. The alias (for example,aglick) is only the secret's name in Secret Server.Minimum Secret Server version: The minimum version of Secret Server supporting the
secretPathparameter is not yet confirmed. Verify compatibility with your Secret Server version before deploying to production.
Backward Compatibility
Existing Delinea Secret Server configurations continue to work unchanged. Numeric secret ID references take precedence in the routing logic, so all of the following continue to use the traditional GET /api/v1/secrets/{id} API call:
7?key=Password
Uses secret ID 7 (unchanged)
/7?key=Password
Parses as integer 7; uses secret ID 7 (unchanged)
007?key=Password
Parses as integer 7; uses secret ID 7 (unchanged)
$SDM_USERNAME with numeric alias (for example, 1234)
Uses secret ID 1234 (unchanged)
7?key=Password&encoding=base64
Uses secret ID 7 with base64 decoding (unchanged)
Store healthcheck with no secret reference
Calls GET /api/v1/secrets/0 (unchanged)
Non-path references that previously failed continue to fail with the same error:
aglick?key=Password(no slash) causes a parse error.7(missing requiredkeyparameter) causes a key required error.
No changes are required for the following:
Secret store configuration fields
API or SDKs
Terraform definitions
CLI commands
Authentication flows
Application account permissions
Credential caching
Healthchecks
How Path Lookup Works
When you provide a secret reference to StrongDM, it is evaluated in the following order:
Numeric ID (default): If the reference can be parsed as an integer (for example,
7or007), it is looked up using the secret ID.Path lookup: If the reference contains a forward slash (
/), it is looked up using the folder path.Error: Otherwise, the reference returns a parse error.
Path-based references use the format /Folder/Subfolder/SecretName?key=FieldName, which calls the Secret Server API endpoint GET /api/v1/secrets/0?secretPath=/Folder/Subfolder/SecretName and returns the requested field.
Supported formats
Numeric ID
7?key=Password
Calls GET /api/v1/secrets/7
Path-based
/StrongDM/RDP/jdoe?key=Password
Calls GET /api/v1/secrets/0?secretPath=/StrongDM/RDP/jdoe
Path with leading slash preserved
/7?key=Password
Parses as integer 7; calls GET /api/v1/secrets/7
Advantages of path-based lookup
Dynamic credential assignment: Use
$SDM_USERNAMEplaceholder to assign each user their own credential based on their Identity Alias.Single API call: When username and password use the same folder path, only one Secret Server API call is made per credential load.
No secret ID management: Organize secrets by folder structure instead of maintaining numeric ID mappings.
Clear folder organization: Credentials are logically grouped by resource type and user.
CLI Usage Examples
Create a Delinea secret store
Create an RDP resource with path-based Identity Aliases
Create an RDP resource with numeric secret IDs (traditional)
Provision node credentials
Before starting a gateway or relay, provision the Secret Server credentials:
For Delinea Platform mode, the same variables hold the OAuth client ID and secret:
Identity Aliases with Path Lookup
Identity Aliases allow you to assign each user a unique credential stored in Secret Server, based on their username. When combined with path-based secret lookup, each user can connect to the same RDP resource with their own Windows account, stored in Secret Server under their alias name.
How It Works
You create an Identity Set in StrongDM with user aliases (for example,
aglickorbbelcher).In the RDP (Password) resource, you use path-based references with the
$SDM_USERNAMEplaceholder:Username:
/StrongDM/RDP/$SDM_USERNAME?key=UsernamePassword:
/StrongDM/RDP/$SDM_USERNAME?key=Password
When user
aglickconnects, StrongDM substitutes$SDM_USERNAMEwithaglickand looks up/StrongDM/RDP/aglick.The secret named
aglickin the/StrongDM/RDP/folder is retrieved, providing that user's credential.
Example Setup
Secret Server folder structure
StrongDM RDP resource configuration
Resource Name:
Production RDP ServerServer:
192.168.1.100Port:
3389Username (path):
/StrongDM/RDP/$SDM_USERNAME?key=UsernamePassword (path):
/StrongDM/RDP/$SDM_USERNAME?key=PasswordIdentity Set:
Windows Admins(with aliases:aglick,bbelcher)Healthcheck Username:
healthcheck
Result
When
aglickconnects, the secret/StrongDM/RDP/aglickis retrieved, providingCORP\aglick-admand the corresponding password.When
bbelcherconnects, the secret/StrongDM/RDP/bbelcheris retrieved, providingCORP\bbelcher-admand the corresponding password.Both users connect to the same resource with their own credentials.
Supported Resource Types
Path-based lookup with Identity Aliases is supported for the following resource types:
RDP (Password) resources with Identity Sets
MS SQL with Kerberos resources with Identity Sets
SSH with Customer Managed Key resources with Identity Sets
Related Documentation
Delinea Integration
Delinea publishes its own guide to this integration, covering the same setup from the Secret Server side:
Integrating StrongDM with Secret Server: Overview, supported deployment models, and use cases
Prerequisites: Delinea-side requirements for each deployment model
Configuration: Delinea-side setup steps, including creating the Platform role, group, and service user for Platform mode
StrongDM Identity and Access Management
Identity Aliases: How to configure Identity Aliases for dynamic credential assignment
Resource Health and Monitoring: Understanding healthcheck configuration and status indicators
Additional References
The following are additional references used in this guide:
Creating Users: Creating an Application Account in standalone Secret Server
Adding Users: Creating the Platform service user used for Platform mode
Using Secret Server APIs from Delinea Platform: Details on the OAuth token exchange StrongDM performs in Platform mode
Connecting to Secret Server Cloud: Enabling Secret Server Cloud Platform Identity Integration
Secret Stores Reference: How StrongDM secret store integrations work in general
Last updated
Was this helpful?

