Documentation forDatabase Performance Analyzer

Configure DPA to use credentials stored in CyberArk

DPA can use credentials stored in CyberArk for authentication to:

  • The DPA repository
  • Monitored database instances
  • Monitored VMware ESX/ESXi Hosts or vCenter Servers
  • LDAP/AD servers
  • Mail servers

DPA uses the REST API to call the CyberArk Central Credential Provider (CCP) and client certificates authentication to authenticate to it, which means that your CyberArk CCP must be configured to use SSL.

Complete the following tasks to configure DPA to use CyberArk to as a credential provider:

Gather the required information

To configure CyberArk integration in DPA, you must have the following information:

  • The URL of the CyberArk Central Credential Provider
  • The client certificate that will be used to authenticate to the CyberArk CCP
  • The CA root certificate of CyberArk CCP server if you are using a private Certification Authority to create trust between DPA and CyberArk CCP

If your client certificate is in pem format, convert it to pkcs12 format

DPA does not support pem format. If your client certificate is in pem format, complete the following steps to convert it to pkcs12 format.

  1. Download and install the OpenSSL toolkit. For Windows you can download it from here.
  2. Open a command prompt and run the following command, where yourClientCertificate.pem is your client certificate file in pem format.

    openssl pkcs12 -export -inkey yourClientCertificate.pem -in yourClientCertificate.pem -out CA_keystore.p12

  3. When prompted, enter the password protecting the pem file (if there is one).

  4. When prompted, set a password for the new pkcs12 file. This is the password you will use for the keystore.password and key.password properties in the file.

    OpenSSL uses the same password for both the keystore and the key itself.

A new file called CA_keystore.p12 is created. It stores the converted client certificate in pkcs12 format. Specify this file as the keystore.location property in the file.

Configure the file

  1. Open the following file in a text editor:


  2. Enter the values for the following properties, and save the file.


The common part of requests to get credentials from the CyberArk CCP. All requests made by DPA to the CCP consist of this URL concatenated with a suffix specific to the given connection. For example, if your CCP URL is and your AppID for DPA is DPA, the base.uri is specified as:


When you register database instances for monitoring (for example), you will use the suffix query that is specific to the monitored instance. This type of query might look like this:


In this example, DPA would use the following URL to get the credentials for this monitored instance:

DPA provides flexibility for structuring your CCP requests. You can use any field documented by CyberArk.


The connection timeout of the CCP requests in milliseconds. If this value is not specified, the default value of 30000 (30 seconds) is used. If you are using the ConnectionTimeout property as part of the CCP URL, the lower value of the two properties is used.


Disables hostname verification. If set to true, DPA does not verify that the CyberArk CCP server certificate matches the CyberArk CCP hostname. DPA recommends the default of false (hostname verification is enabled).


The path to the keystore that holds your client certificate used to authenticate DPA requests to the CyberArk CCP. Be aware that if your location string contains a backslash (\) you must escape it with another backslash, as shown in the following example:

keystore.location= C:\\security\\ca_keystore.p12


The type of keystore. Valid values are jks and pkcs12.

DPA supports the following file types:

  • pkcs12 (the file usually has a .p12 extension)
  • jks (the file usually has a .jks extension)

If your file is in a different format, take one of the following actions:

  • pem: If your client certificate is in pem format, convert it to pkcs12 format.
  • pxf: A file in pxf format can be used as-is, because the pxf and pkcs12 formats are generally interchangeable. Specify pkcs12 as the keystore.type.


The password to the keystore. After DPA starts, this value is encrypted based on the settings specified in DPA password encryption settings.


The password to the client certificate in the keystore. After DPA starts, this value is encrypted based on the settings specified in DPA password encryption settings.

Establish trust between DPA, the CyberArk CCP, and the client certificate

Because your CyberArk deployment is using SSL, you must ensure that DPA is configured to trust the CyberArk CCP server certificate. To do this, import the CA certificate of the CyberArk CCP into the DPA trust store.

Enable auto-invalidation of monitored instance connections when credentials have changed

DPA polls credentials from CyberArk every 10 minutes (by default). If new credentials are detected, all connections created after the change will respect the new credentials.

If CyberArk stops providing the credentials (for example, because the account name in CyberArk changed so the query is no longer valid, or CyberArk is down for some reason), DPA will postpone the connection invalidations to help you overcome short CyberArk outages. By default, the delay in connection invalidations is 30 minutes. You can configure this value for every connection type by setting following properties in the file, with the value in minutes:

  • For the repository connection:


  • For monitored database instance connections:


  • For monitored VMware ESX/ESXi Host or vCenter Server connections:


  • For an LDAP/AD server connection:


  • For a mail server connection:


A value of 30 minutes means that DPA will invalidate existing connections if CyberArk is not able to provide credentials for a period longer than 30 minutes.

To reschedule the DPA credentials polling job (which runs every 10 minutes by default), set the following properties in the file, with the value in milliseconds:

  • For the repository connection:


  • For monitored database instance connections:


  • For monitored VMware ESX/ESXi Host or vCenter Server connections:


  • For an LDAP/AD server connection:


  • For a mail server connection:


Enter connection credentials into CyberArk and test them

Add all connection credentials used by DPA into CyberArk. SolarWinds recommends using the DPA REST API to test the connection queries before you enable the integration.

Enable the DPA CyberArk integration

After you have edited the file and updated the DPA trust store with the required certificates, complete the following steps to enable CyberArk mode so that DPA will start to use those settings.

  1. Open the following file in a text editor:


  2. Uncomment or add the following line, and save the file:


  3. Restart DPA.

    After the restart, DPA wizards and other interfaces display a field for the CyberArk credentials query instead of the user name and password fields.

Update an existing DPA installation to use credentials stored in CyberArk

If any of the following were configured before the CyberArk integration, you must update the configurations to use credentials stored in CyberArk:

  • The DPA repository database
  • Monitored database instances
  • Monitored virtual machines
  • AD or LDAP server
  • You company mail server used to send emails from DPA

For new installations without a repository database, see Create a new DPA repository that uses CyberArk for authentication.

  1. To configure the DPA repository database to use credentials stored in CyberArk:
    1. Open the following file in a text editor:


    2. Remove the repo.user and repo.password properties.

    3. Add the following setting, where cyberArkQueryForRepoCredentials is the CyberArk query that DPA will use to obtain the credentials to connect to the repository database:


      For example:


    4. Save the file.

    5. Restart DPA for the changes to take effect.

  2. For each monitored database instance, use the Update Connection Wizard to enter the CyberArk credentials query. Or use the cyberArkQuery parameter in the DPA REST API to update existing monitored database instances.
  3. For each monitored virtual machine, update the credentials and enter the CyberArk credentials query.
  4. If DPA uses your company's mail server to send email, update the mail server configuration and enter the CyberArk credentials query.

    If DPA uses the default mail server or the embedded mail server, no changes are needed.

  5. If DPA is configured to use AD or LDAP user authentication, use the Configure AD/LDAP wizard to enter the CyberArk credentials query. Then restart DPA for the changes to take effect.

Register additional database instances for monitoring

When DPA is started in CyberArk mode, you must specify the CyberArk query instead of entering a user name and password when you register monitored database instances. You can use the Register Database Instance wizard, mass registration, or the REST API to register instances.

Task 1: Create the monitoring user

First, manually create the monitoring user for each database instance you want to monitor. See the instructions for creating the monitoring user in the following articles:

Task 2: Register database instances

You can use any method to register database instances. Depending on which method you want to use, do one of the following:

If you use the Register Database Instance wizard, the wizard prompts you for the required information, including the CyberArk query.

If you use mass registration or the REST API, enter the required values in the mass registration form or in the REST API call. Values specific to CyberArk implementation are described in the following table.

Mass registration field REST API parameter Value

Monitoring User

Monitoring User Password

Privileged User

Privileged User Password

SYS Password






Do not enter a value.
CyberArk query cyberArkQuery

Enter information that can be concatenated with the base.uri value from the file to create a valid request to the CyberArk CCP. For example:


DPA will use values in the UserName and Content fields from the CyberArk response as credentials for monitoring the database.

Create Monitoring User monitoringUserIsNew

Enter N on the mass registration form.

Enter false as the REST API parameter value.

The following example shows a REST API request to register Oracle instance:

{   "databaseType": "ORACLE",
    "serverName": "",
    "serviceNameOrSID": "DPA_ORA11R1",
    "port": "1521",
    "monitoringUserIsNew": false,
    "displayName": "DPA_ORA11R1",
    "cyberArkQuery: "&safe=mondb&object=oracleprod1"

Secure your CyberArk integration

SolarWinds strongly recommends securing information used to authenticate to CyberArk.

Use a strong encryption algorithm and passphrase

Password fields in are automatically encrypted after DPA startup. To use a strong encryption algorithm and passphrase:

  1. Open DPA in your browser.
  2. From the DPA menu in the top-right corner, click Options.
  3. Under Administration > Configuration, click Password Encryption Settings.
  4. Under Choose an encryption scheme, select AES 256-bit.
  5. Enter your Encryption Passphrase.

    Do not share the passphrase with anyone.

  6. Click Update.

    Passwords stored in DPA configuration files or in the DPA repository are re-encrypted using your selection.

Limit access to the files storing sensitive information

Make sure that, except for the user running DPA service (Windows) or process (Linux), no one has read permission to the CyberArk configuration file ( and CyberArk client certificate (referenced from

For the user running the DPA service or process, read permission is sufficient for the CyberArk client certificate. Both read and write permissions are needed for the file (so DPA can encrypt the password fields).

When you install DPA on a Linux server, make sure you do not install DPA under the root user. Using a dedicated DPA user instead of the root user gives you flexibility to set the permissions as described above.

When you install DPA on a Windows server, the Ignite_PI service runs under the “Local System Account” by default. To use a dedicated DPA user instead, complete the following steps:

  1. Open a command prompt, and enter services.msc.
  2. Right-click the Ignite PI Server service and select Properties.
  3. On the Log On tab, click This Account and enter the credentials for the account you want to use.

Be aware that after you upgrade DPA, the Ignite_PI service is recreated and “Local System Account” is used again. You must manually update the service after every DPA upgrade.