- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
How do I resync the API credfile for the CPM Scanner Service for On Prem Self Hosted?
The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service.
Do the following:
Note: https://AddressOfThePVWAl/passwordvault/api/ has to use hostname instead of IP
1. log into the CPM machine and open the services console
2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services
3. Open an administrative level command prompt
4. Browse to <drive>:\Program Files (x86)\CyberArk\Password Manager\Vault
5. Run one of the following sets of commands:
To revoke the key and recreate it:
Note:
a. Type the following:
apikeymanager.exe revoke -t <CPMComponentUser> -u <installeruser_account> -a "https://AddressOfThePVWAl/passwordvault/api/"
b. Type the following:
apikeymanager.exe add -f apikey.ini -t <CPMComponentUser> -u <installeruser_account> -a "https://AddressOfThePVWA/passwordvault/api/"
To update the existing key pair:
apikeymanager.exe update -f apikey.ini -t <CPMComponentUser> -u <installeruser_account> -a "https://AddressOfThePVWA/passwordvault/api/"
6. Start the CPM and Scanner Services
The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service. Do the following:
Note: https://AddressOfThePVWAl/passwordvault/api/ has to use hostname instead of IP
1. log into the CPM machine and open the services console
2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services
3. Open an administrative level command prompt
4. Browse to <drive>:\Program Files (x86)\CyberArk\Password Manager\Vault
5. Run one of the following sets of commands:
To revoke the key and recreate it:
Note: The passwordmanageruser's username can be found in the credfile, user.ini, located in the same file location as apikeymanager.exe
* Please note that the username used in the apikeymanager.exe command is case sensitive.
a. Type the following:
apikeymanager.exe revoke -t <passwordmanageruser> -u administrator -a "https://AddressOfThePVWAl/passwordvault/api/"
b. Type the following:
apikeymanager.exe add -f apikey.ini -t <passwordmanageruser> -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"
To update the existing key pair:
apikeymanager.exe update -f apikey.ini -t <passwordmanageruser> -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"
6. Start the CPM services