<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article CPM scanner - How do I resync the API credfile for the CPM Scanner service? in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/cpm-scanner-how-do-i-resync-the-api-credfile-for-the-cpm-scanner/ta-p/1429742</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;How do I resync the API credfile for the CPM Scanner Service for On Prem Self Hosted?&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99830iFBF4BE33ACC012CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the following:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Note&lt;/B&gt;: &lt;I&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/I&gt; has to use &lt;B&gt;hostname &lt;/B&gt;instead of IP&lt;BR /&gt;&lt;BR /&gt;1. log into the CPM machine and open the services console&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97350iC59C2B8248BF2F77/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97351i1E450104F26B6941/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;3. Open an administrative level command prompt&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97352iD5DF0FC1D86B4D2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4. Browse to &amp;lt;drive&amp;gt;:\Program Files (x86)\CyberArk\Password Manager\Vault&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97353i026B4D51B5208BAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;5. Run one of the following sets of commands:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;To revoke the key and recreate it:&lt;BR /&gt;Note: &lt;/B&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;The passwordmanageruser's username can be found in the credfile, user.ini, located in the same file location as apikeymanager.exe&lt;/LI&gt;&lt;LI&gt;The username used in the apikeymanager.exe command is case-sensitive.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;B&gt;a&lt;/B&gt;. Type the following:&lt;BR /&gt;apikeymanager.exe revoke -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWAl/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;b&lt;/B&gt;. Type the following:&lt;BR /&gt;apikeymanager.exe add -f apikey.ini -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWA/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWA/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;To update the existing key pair:&lt;/B&gt;&lt;BR /&gt;apikeymanager.exe update -f apikey.ini -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWA/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWA/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;6. Start the CPM and Scanner Services&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97354iB7E71D6D014F7C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV style="box-sizing: border-box;"&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow" style="box-sizing: border-box;overflow-wrap: break-word;word-break: break-word;display: inline-block;font-size: var(--lwc-inputStaticFontSize,0.875rem);font-weight: var(--lwc-inputStaticFontWeight,400);color: var(--lwc-inputStaticColor,rgb(8, 7, 7));width: calc(100% - var(--lwc-squareIconSmallBoundary,1.5rem));flex-grow: 1;padding-top: 0px;padding-bottom: 0px;min-height: calc(var(--lwc-varFontSize7,1.25rem) + 1px);"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2" style="box-sizing: border-box;"&gt;How do I resync the API&amp;nbsp;credfile for the CPM Scanner service?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" style="box-sizing: border-box;clear: left;display: flex;padding-top: var(--lwc-spacingXxxSmall,0.125rem);padding-bottom: var(--lwc-spacingXxxSmall,0.125rem);width: 405px;flex-basis: 100%;border-bottom: 0px;padding-left: 0px;color: rgb(8, 7, 7);font-family: &amp;quot;Salesforce Sans&amp;quot;, Arial, sans-serif;font-size: 13px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-style: initial;text-decoration-color: initial;"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" style="box-sizing: border-box;line-height: var(--lwc-lineHeightText,1.5);overflow-wrap: break-word;hyphens: manual;"&gt;
&lt;P style="box-sizing: border-box;"&gt;The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service. Do the following:&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp;&lt;A href="https://addressofthepvwal/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/A&gt;&amp;nbsp;has to use hostname instead of IP&lt;BR /&gt;&lt;BR /&gt;1. log into the CPM machine and open the services console&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96894i995A340F643BBD62/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96895iB5FD37A0C69D84DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;3. Open an administrative level command prompt&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96896i0D7A04D441E10226/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4. Browse to&amp;nbsp;&amp;lt;drive&amp;gt;:\Program Files (x86)\CyberArk\Password Manager\Vault&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96897iFB33220F9DDFB6E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;5. Run one of the following sets of commands:&lt;BR /&gt;&lt;BR /&gt;To revoke the key and recreate it:&lt;BR /&gt;Note: The passwordmanageruser's username can be found in the credfile, user.ini, located in the same file location as apikeymanager.exe&lt;BR /&gt;&lt;BR /&gt;*&amp;nbsp;Please note that the username used in the&amp;nbsp;apikeymanager.exe command is case sensitive.&lt;BR /&gt;&lt;BR /&gt;a. Type the following:&amp;nbsp;&lt;BR /&gt;apikeymanager.exe revoke -t &amp;lt;passwordmanageruser&amp;gt;&amp;nbsp;-u administrator -a "https://AddressOfThePVWAl/passwordvault/api/"&lt;BR /&gt;&lt;BR /&gt;b. Type the following:&lt;BR /&gt;apikeymanager.exe add -f apikey.ini -t &amp;lt;passwordmanageruser&amp;gt; -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;To update the existing key pair:&lt;BR /&gt;apikeymanager.exe update -f apikey.ini -t &amp;lt;passwordmanageruser&amp;gt; -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;BR /&gt;&lt;BR /&gt;6. Start the CPM services&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96898i837429C28E528AA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;Q&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;How do you re-sync the api cred file for the CPM Scanner service?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;A&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The new executable 'apikeymanager.exe' is used to manage the new credential file that is needed for the CPM Scanner service. Below are two different ways to manage the credential file:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;revoke the key and then recreate&lt;/FONT&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;apikeymanager revoke -t PasswordManager -u administrator -a "https://AddressOfThePVWAl/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;apikeymanager add -f apikey.ini -t PasswordManager -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;/UL&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;update the existing key pair&lt;/FONT&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2" style=""&gt;apikeymanager update -f apikey.ini -t PasswordManager -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;/UL&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 05 Nov 2026 19:46:32 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-11-05T19:46:32Z</dc:date>
    <item>
      <title>CPM scanner - How do I resync the API credfile for the CPM Scanner service?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/cpm-scanner-how-do-i-resync-the-api-credfile-for-the-cpm-scanner/ta-p/1429742</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;How do I resync the API credfile for the CPM Scanner Service for On Prem Self Hosted?&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99830iFBF4BE33ACC012CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy00000iDV9V.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the following:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Note&lt;/B&gt;: &lt;I&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/I&gt; has to use &lt;B&gt;hostname &lt;/B&gt;instead of IP&lt;BR /&gt;&lt;BR /&gt;1. log into the CPM machine and open the services console&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97350iC59C2B8248BF2F77/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJK.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97351i1E450104F26B6941/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJU.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;3. Open an administrative level command prompt&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97352iD5DF0FC1D86B4D2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJZ.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4. Browse to &amp;lt;drive&amp;gt;:\Program Files (x86)\CyberArk\Password Manager\Vault&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97353i026B4D51B5208BAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJe.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;5. Run one of the following sets of commands:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;To revoke the key and recreate it:&lt;BR /&gt;Note: &lt;/B&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;The passwordmanageruser's username can be found in the credfile, user.ini, located in the same file location as apikeymanager.exe&lt;/LI&gt;&lt;LI&gt;The username used in the apikeymanager.exe command is case-sensitive.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;B&gt;a&lt;/B&gt;. Type the following:&lt;BR /&gt;apikeymanager.exe revoke -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWAl/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;b&lt;/B&gt;. Type the following:&lt;BR /&gt;apikeymanager.exe add -f apikey.ini -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWA/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWA/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;To update the existing key pair:&lt;/B&gt;&lt;BR /&gt;apikeymanager.exe update -f apikey.ini -t &amp;lt;CPMComponentUser&amp;gt; -u &amp;lt;installeruser_account&amp;gt; -a "&lt;A href="https://AddressOfThePVWA/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWA/passwordvault/api/&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;6. Start the CPM and Scanner Services&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97354iB7E71D6D014F7C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000043tJj.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV style="box-sizing: border-box;"&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow" style="box-sizing: border-box;overflow-wrap: break-word;word-break: break-word;display: inline-block;font-size: var(--lwc-inputStaticFontSize,0.875rem);font-weight: var(--lwc-inputStaticFontWeight,400);color: var(--lwc-inputStaticColor,rgb(8, 7, 7));width: calc(100% - var(--lwc-squareIconSmallBoundary,1.5rem));flex-grow: 1;padding-top: 0px;padding-bottom: 0px;min-height: calc(var(--lwc-varFontSize7,1.25rem) + 1px);"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2" style="box-sizing: border-box;"&gt;How do I resync the API&amp;nbsp;credfile for the CPM Scanner service?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" style="box-sizing: border-box;clear: left;display: flex;padding-top: var(--lwc-spacingXxxSmall,0.125rem);padding-bottom: var(--lwc-spacingXxxSmall,0.125rem);width: 405px;flex-basis: 100%;border-bottom: 0px;padding-left: 0px;color: rgb(8, 7, 7);font-family: &amp;quot;Salesforce Sans&amp;quot;, Arial, sans-serif;font-size: 13px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-style: initial;text-decoration-color: initial;"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" style="box-sizing: border-box;line-height: var(--lwc-lineHeightText,1.5);overflow-wrap: break-word;hyphens: manual;"&gt;
&lt;P style="box-sizing: border-box;"&gt;The executable 'apikeymanager.exe' is used to manage the credential file that is needed for the CPM Scanner service. Do the following:&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp;&lt;A href="https://addressofthepvwal/passwordvault/api/" target="_blank"&gt;https://AddressOfThePVWAl/passwordvault/api/&lt;/A&gt;&amp;nbsp;has to use hostname instead of IP&lt;BR /&gt;&lt;BR /&gt;1. log into the CPM machine and open the services console&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96894i995A340F643BBD62/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyru.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;2. Stop the Idira Password Manager service and Idira Central Policy Manager Scanner services&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96895iB5FD37A0C69D84DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iyrz.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;3. Open an administrative level command prompt&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96896i0D7A04D441E10226/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysO.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4. Browse to&amp;nbsp;&amp;lt;drive&amp;gt;:\Program Files (x86)\CyberArk\Password Manager\Vault&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96897iFB33220F9DDFB6E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iysY.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;5. Run one of the following sets of commands:&lt;BR /&gt;&lt;BR /&gt;To revoke the key and recreate it:&lt;BR /&gt;Note: The passwordmanageruser's username can be found in the credfile, user.ini, located in the same file location as apikeymanager.exe&lt;BR /&gt;&lt;BR /&gt;*&amp;nbsp;Please note that the username used in the&amp;nbsp;apikeymanager.exe command is case sensitive.&lt;BR /&gt;&lt;BR /&gt;a. Type the following:&amp;nbsp;&lt;BR /&gt;apikeymanager.exe revoke -t &amp;lt;passwordmanageruser&amp;gt;&amp;nbsp;-u administrator -a "https://AddressOfThePVWAl/passwordvault/api/"&lt;BR /&gt;&lt;BR /&gt;b. Type the following:&lt;BR /&gt;apikeymanager.exe add -f apikey.ini -t &amp;lt;passwordmanageruser&amp;gt; -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;To update the existing key pair:&lt;BR /&gt;apikeymanager.exe update -f apikey.ini -t &amp;lt;passwordmanageruser&amp;gt; -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;BR /&gt;&lt;BR /&gt;6. Start the CPM services&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/96898i837429C28E528AA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png" alt="ka3Vy00000BDPblIAH__eid=ka3Vy00000BDPbl&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000002iytb.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;Q&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;How do you re-sync the api cred file for the CPM Scanner service?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;A&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The new executable 'apikeymanager.exe' is used to manage the new credential file that is needed for the CPM Scanner service. Below are two different ways to manage the credential file:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;revoke the key and then recreate&lt;/FONT&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;apikeymanager revoke -t PasswordManager -u administrator -a "https://AddressOfThePVWAl/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;apikeymanager add -f apikey.ini -t PasswordManager -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;/UL&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;update the existing key pair&lt;/FONT&gt;
&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2" style=""&gt;apikeymanager update -f apikey.ini -t PasswordManager -u administrator -a "https://AddressOfThePVWA/passwordvault/api/"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;/UL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Nov 2026 19:46:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/cpm-scanner-how-do-i-resync-the-api-credfile-for-the-cpm-scanner/ta-p/1429742</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-11-05T19:46:32Z</dc:date>
    </item>
  </channel>
</rss>

