Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Enabling the credential store to use DPAPI

Updated on October 19, 2022

Securely handle credentials for unattended automations by enabling the Pega Robotic Automation credential store to use DPAPI.

The following configuration files contain DPAPI-related settings, but you only have to make an entry in the CommonConfig.xml file:
  • CommonConfig.xml
  • CredentialManagerConfig.xml

Both of these configuration files are stored in the C:\ProgramData\Pegasystems folder. To enable the use of DPAPI, follow these steps:

  1. Open the CommonConfig.xml file in a text editor.
  2. In the CredentialManager element, in the providerType key, enter DPAPI. The following is an example:
     <ServerConfiguration>
            <Servers>
                ...
                <Server name="CredentialManager" enabled="false" baseURL="" mappingFileLocation="CommonApplicationData" providerType="DPAPI" />
                ...
            </Servers>
        </ServerConfiguration>
  3. Save and then close the CommonConfig.xml file.
What to do next: This modification enables the Pega Robotic Automation credential store to use DPAPI to store credentials. Continue by adding the credentials that you want the system to use to sign on the robots that will execute the unattended automations.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us