How to Rename the CPM Vault User

How to Rename the CPM Vault User

290
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:01 PM


Symptom


When scaling an environment and adding additional CPM Servers it may be beneficial to rename any existing servers to reflect their location or role in the organization. The steps below cover how to update the name of the Vault's CPM users (Default: PasswordManager)



Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;14.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) Central Policy Manager (CPM)

Resolution


1) Stop CPM services (Scanner and Password Manager)

2) The following steps need to be completed using PAClient;

  •  Rename the <ExistingCPMUser>_* safes to the new names except the three shared safes: PasswordManger_Pending, PasswordMangerShared, PasswordMangerTemp
  • Rename the CPM user and reset its password

The following steps then need to be completed on the CPM Server;

3) Re-cred user.ini using CreateCredFile Utility

CreateCredFile.exe user.ini Password /Username {NewCPMUserID} /Password {password} /AppType CPM /EntropyFile

4) Update the APIKey file:

  • Revoke the old key
apikeymanager revoke -t <OldCPMUserID> -u Administrator -a https://<PVWA direct URL>/passwordvault/api/
  • Add the new key
apikeymanager add -f apikey.ini -t <NewCPMUserID> -u Administrator -a https://<PVWA direct URL>/passwordvault/api/

The following step needs to be completed using PVWA Options;

5) Update <ExistingCPM> to the new CPM user name in PVWA (Options > CPM Names). 

6) Restart CPM services.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001D3MCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail