<?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 CP - How internal user password rotation and login work with DR and Distributed Vaults? in Secrets Management Articles</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/cp-how-internal-user-password-rotation-and-login-work-with-dr/ta-p/1429587</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
How Credential Providers work behind the scene when it comes to the internal user password rotation (credential file) and login to the Vault ?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Before detailing the logic, this is important to understand what is included in the Credential File and inside the Configuration File (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) in the AppProvider safe.&lt;BR /&gt;&lt;BR /&gt;Sections "Credential File content" and "Definitions of&amp;nbsp;AutomaticProviderPasswordRefreshInterval &amp;amp; AutomaticParmsRefreshInterval" provide explanations.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Credential File content&lt;/U&gt; :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The Provider's credential file (AppProviderUser.cred) includes 2 parameters named &lt;B&gt;&lt;I&gt;Password &lt;/I&gt;&lt;/B&gt;and &lt;B&gt;&lt;I&gt;NewPassword&lt;/I&gt;&lt;/B&gt;. The terminology changed from Password to Secret starting 12.1 and later versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of an AppProviderUser.cred (version 12.4) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97465i99496BEE7421A84A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Definitions of AutomaticProviderPasswordRefreshInterval &amp;amp; AutomaticParmsRefreshInterval&lt;/U&gt;:&lt;BR /&gt;&lt;BR /&gt;Both parameters are located inside the configuration file of the Provider (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) in the AppProviderConf safe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval (default is 86400 seconds, 24 hours. Not visible per default in the configuration file):&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;"The frequency in seconds that the Credential Provider takes to refresh the connection to the vault and relogin. After login, the user's password is changed in the vault and updated in its credential file appprovideruser.cred. This process runs as part of the AutomaticParmsRefresh background job and therefore the frequency of this process depends on the AutomaticParmsRefreshInterval's value as well. The default is every 24h."&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #e74c3c;"&gt;&lt;STRONG&gt;&lt;U&gt;Note&lt;/U&gt;: this parameter was introduced in version 12.0 and later. For earlier versions, it is not recognized as a valid parameter if set. The default hard coded 24 hours interval will apply.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Sample of the warning in the APPTrace.log (debug needs to be enabled):&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;CASPR002W Unknown parameter AutomaticProviderPasswordRefreshInterval (Location:C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Env\main_appprovider.conf.Win64.7.20:4)&lt;BR /&gt;APPAP315W Parameters file contains at least one unknown parameter. Reason: [CASPR002W Unknown parameter AutomaticProviderPasswordRefreshInterval (Location:C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Env\main_appprovider.conf.Win64.7.20:4)]&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval (default is 3600 seconds, 1 hour. Visible per default in the configuration):&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/I&gt;&lt;EM&gt;The frequency in seconds that the Credential Provider will refresh the main configuration file stored on the Credential Provider machine from the file in the Vault."&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Credential-Provider-Configuration-Files.htm#mainappproviderconfplatformversion" target="_blank"&gt;Official D&lt;/A&gt;&lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Credential-Provider-Configuration-Files.htm#mainappproviderconfplatformversion" target="_blank"&gt;ocumentation Reference&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Internal Provider user password rotation and login&lt;/U&gt;:&lt;BR /&gt;&lt;BR /&gt;The internal Credential Provider user password is rotated every 24 hours per default (not hard coded). This is defined by the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&amp;nbsp;&lt;/I&gt;&lt;/B&gt;in the configuration file (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) inside the AppProviderConf safe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is possible to change the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;&amp;nbsp;default value. For this, it is necessary to modify also the&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;AutomaticParmsRefreshInterval&amp;nbsp;&lt;/I&gt;&lt;/STRONG&gt;value.&lt;BR /&gt;&lt;BR /&gt;To apply the changes :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;if only modifying&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;&lt;/EM&gt;: this requires to restart the Provider service to apply the new value.&lt;/LI&gt;&lt;/UL&gt;
&amp;nbsp;

&lt;UL&gt;&lt;LI&gt;If modifying&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;and&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;&lt;/EM&gt;:&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;It is possible to use the &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/CredentialProvider-Utility.htm" target="_blank"&gt;appprvmgr Utility&lt;/A&gt;&amp;nbsp;(refreshparms command)&amp;nbsp;available in the Provider installation folder&amp;nbsp;to apply the new value for the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97467i08D149847E9C34FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;, &lt;/EM&gt;restarting the Provider service is still mandatory.&lt;BR /&gt;&lt;BR /&gt;Without restarting the Provider service, in the example below, the internal Provider user password &lt;U&gt;would still be changed every hour&lt;/U&gt; when the AutomaticParmsRefresh Background job is kicking in:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval=3600 (every hour)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval=1800 (every 30 minutes)&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;To verify the configuration used by the Provider, the following command can be used :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Command is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Windows :&amp;nbsp;appprvmgr.exe showparms&lt;BR /&gt;UNIX : apprvmgr ShowParms&lt;BR /&gt;&lt;BR /&gt;Example from a Windows Credential Provider:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97466i13CCC4F8453ACF43/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Expected default behaviors&lt;/U&gt; :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Multiple scenarios exist and details are mentioned below. Per default, the internal Provider user password is rotated every 24 hours as stated above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Scenario 1 (continuous working DR replication):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed with a working DR replication, the internal users passwords and credential files are in sync.&lt;/P&gt;
&lt;P&gt;The Providers will be able to failover automatically except if the Secondary Vault IP is not specified in the vault.ini file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Scenario 2 (DR replication was stopped less than 48 hours ago):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed without a replication for less than 48 hours:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;The Credential Provider will try to use the new password (&lt;STRONG&gt;&lt;EM&gt;NewPassword / NewSecret&lt;/EM&gt;&lt;/STRONG&gt;) first to connect to the Vault.&lt;/LI&gt;&lt;LI&gt;It will print the following error once for each Provider in the italog on the active Vault:&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;The Provider will then try the previous password (&lt;STRONG&gt;&lt;EM&gt;Password / Secret&lt;/EM&gt;&lt;/STRONG&gt;) and will be successfully connecting to the Vault.&lt;/LI&gt;&lt;/OL&gt;
&amp;nbsp;

&lt;UL&gt;&lt;LI&gt;Scenario 3 (DR replication was stopped for more than 48 hours):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed without a replication for more than 48 hours:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;The Credential Provider will try to use the new password (&lt;STRONG&gt;&lt;EM&gt;NewPassword / NewSecret&lt;/EM&gt;&lt;/STRONG&gt;) first to connect to the Vault.&lt;/LI&gt;&lt;LI&gt;It will print the following error once for each Provider in the italog on the active Vault:&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;The Provider will then try the previous password (&lt;STRONG&gt;&lt;EM&gt;Password / Secret&lt;/EM&gt;&lt;/STRONG&gt;) and will be also failing with the error&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;
In this scenario 3, the internal Provider user password would be desynchronized and a new Cred File must be generated using the &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Appendix-A-Creating-CP-AP-Files.htm" target="_blank"&gt;CreateCredFile Utility&lt;/A&gt;.</description>
    <pubDate>Tue, 12 Jul 2022 10:15:02 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2022-07-12T10:15:02Z</dc:date>
    <item>
      <title>CP - How internal user password rotation and login work with DR and Distributed Vaults?</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/cp-how-internal-user-password-rotation-and-login-work-with-dr/ta-p/1429587</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
How Credential Providers work behind the scene when it comes to the internal user password rotation (credential file) and login to the Vault ?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Before detailing the logic, this is important to understand what is included in the Credential File and inside the Configuration File (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) in the AppProvider safe.&lt;BR /&gt;&lt;BR /&gt;Sections "Credential File content" and "Definitions of&amp;nbsp;AutomaticProviderPasswordRefreshInterval &amp;amp; AutomaticParmsRefreshInterval" provide explanations.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Credential File content&lt;/U&gt; :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The Provider's credential file (AppProviderUser.cred) includes 2 parameters named &lt;B&gt;&lt;I&gt;Password &lt;/I&gt;&lt;/B&gt;and &lt;B&gt;&lt;I&gt;NewPassword&lt;/I&gt;&lt;/B&gt;. The terminology changed from Password to Secret starting 12.1 and later versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of an AppProviderUser.cred (version 12.4) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97465i99496BEE7421A84A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sdh.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Definitions of AutomaticProviderPasswordRefreshInterval &amp;amp; AutomaticParmsRefreshInterval&lt;/U&gt;:&lt;BR /&gt;&lt;BR /&gt;Both parameters are located inside the configuration file of the Provider (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) in the AppProviderConf safe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval (default is 86400 seconds, 24 hours. Not visible per default in the configuration file):&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;"The frequency in seconds that the Credential Provider takes to refresh the connection to the vault and relogin. After login, the user's password is changed in the vault and updated in its credential file appprovideruser.cred. This process runs as part of the AutomaticParmsRefresh background job and therefore the frequency of this process depends on the AutomaticParmsRefreshInterval's value as well. The default is every 24h."&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #e74c3c;"&gt;&lt;STRONG&gt;&lt;U&gt;Note&lt;/U&gt;: this parameter was introduced in version 12.0 and later. For earlier versions, it is not recognized as a valid parameter if set. The default hard coded 24 hours interval will apply.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Sample of the warning in the APPTrace.log (debug needs to be enabled):&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;CASPR002W Unknown parameter AutomaticProviderPasswordRefreshInterval (Location:C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Env\main_appprovider.conf.Win64.7.20:4)&lt;BR /&gt;APPAP315W Parameters file contains at least one unknown parameter. Reason: [CASPR002W Unknown parameter AutomaticProviderPasswordRefreshInterval (Location:C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Env\main_appprovider.conf.Win64.7.20:4)]&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval (default is 3600 seconds, 1 hour. Visible per default in the configuration):&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/I&gt;&lt;EM&gt;The frequency in seconds that the Credential Provider will refresh the main configuration file stored on the Credential Provider machine from the file in the Vault."&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Credential-Provider-Configuration-Files.htm#mainappproviderconfplatformversion" target="_blank"&gt;Official D&lt;/A&gt;&lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Credential-Provider-Configuration-Files.htm#mainappproviderconfplatformversion" target="_blank"&gt;ocumentation Reference&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Internal Provider user password rotation and login&lt;/U&gt;:&lt;BR /&gt;&lt;BR /&gt;The internal Credential Provider user password is rotated every 24 hours per default (not hard coded). This is defined by the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&amp;nbsp;&lt;/I&gt;&lt;/B&gt;in the configuration file (main_appprovider.conf. &amp;lt;platform&amp;gt;.&amp;lt;version&amp;gt;) inside the AppProviderConf safe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is possible to change the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;&amp;nbsp;default value. For this, it is necessary to modify also the&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;AutomaticParmsRefreshInterval&amp;nbsp;&lt;/I&gt;&lt;/STRONG&gt;value.&lt;BR /&gt;&lt;BR /&gt;To apply the changes :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;if only modifying&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;&lt;/EM&gt;: this requires to restart the Provider service to apply the new value.&lt;/LI&gt;&lt;/UL&gt;
&amp;nbsp;

&lt;UL&gt;&lt;LI&gt;If modifying&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;and&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;&lt;/EM&gt;:&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;It is possible to use the &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/CredentialProvider-Utility.htm" target="_blank"&gt;appprvmgr Utility&lt;/A&gt;&amp;nbsp;(refreshparms command)&amp;nbsp;available in the Provider installation folder&amp;nbsp;to apply the new value for the&amp;nbsp;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval&lt;/I&gt;&lt;/B&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97467i08D149847E9C34FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfd.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval&lt;/STRONG&gt;, &lt;/EM&gt;restarting the Provider service is still mandatory.&lt;BR /&gt;&lt;BR /&gt;Without restarting the Provider service, in the example below, the internal Provider user password &lt;U&gt;would still be changed every hour&lt;/U&gt; when the AutomaticParmsRefresh Background job is kicking in:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;AutomaticParmsRefreshInterval=3600 (every hour)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;B&gt;&lt;I&gt;AutomaticProviderPasswordRefreshInterval=1800 (every 30 minutes)&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;To verify the configuration used by the Provider, the following command can be used :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Command is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Windows :&amp;nbsp;appprvmgr.exe showparms&lt;BR /&gt;UNIX : apprvmgr ShowParms&lt;BR /&gt;&lt;BR /&gt;Example from a Windows Credential Provider:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97466i13CCC4F8453ACF43/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png" alt="ka32J0000009SNqQAM__eid=ka32J0000009SNq&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EM2J0000044sfT.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Expected default behaviors&lt;/U&gt; :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Multiple scenarios exist and details are mentioned below. Per default, the internal Provider user password is rotated every 24 hours as stated above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Scenario 1 (continuous working DR replication):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed with a working DR replication, the internal users passwords and credential files are in sync.&lt;/P&gt;
&lt;P&gt;The Providers will be able to failover automatically except if the Secondary Vault IP is not specified in the vault.ini file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Scenario 2 (DR replication was stopped less than 48 hours ago):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed without a replication for less than 48 hours:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;The Credential Provider will try to use the new password (&lt;STRONG&gt;&lt;EM&gt;NewPassword / NewSecret&lt;/EM&gt;&lt;/STRONG&gt;) first to connect to the Vault.&lt;/LI&gt;&lt;LI&gt;It will print the following error once for each Provider in the italog on the active Vault:&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;The Provider will then try the previous password (&lt;STRONG&gt;&lt;EM&gt;Password / Secret&lt;/EM&gt;&lt;/STRONG&gt;) and will be successfully connecting to the Vault.&lt;/LI&gt;&lt;/OL&gt;
&amp;nbsp;

&lt;UL&gt;&lt;LI&gt;Scenario 3 (DR replication was stopped for more than 48 hours):&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When a failover to the Secondary Vault is performed without a replication for more than 48 hours:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;The Credential Provider will try to use the new password (&lt;STRONG&gt;&lt;EM&gt;NewPassword / NewSecret&lt;/EM&gt;&lt;/STRONG&gt;) first to connect to the Vault.&lt;/LI&gt;&lt;LI&gt;It will print the following error once for each Provider in the italog on the active Vault:&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;The Provider will then try the previous password (&lt;STRONG&gt;&lt;EM&gt;Password / Secret&lt;/EM&gt;&lt;/STRONG&gt;) and will be also failing with the error&amp;nbsp;&lt;I&gt;ITATS528E Authentication failure for &amp;lt;Provider_User&amp;gt; from station: &amp;lt;ip address&amp;gt; (code: -66).&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;
In this scenario 3, the internal Provider user password would be desynchronized and a new Cred File must be generated using the &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Appendix-A-Creating-CP-AP-Files.htm" target="_blank"&gt;CreateCredFile Utility&lt;/A&gt;.</description>
      <pubDate>Tue, 12 Jul 2022 10:15:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management-articles/cp-how-internal-user-password-rotation-and-login-work-with-dr/ta-p/1429587</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-07-12T10:15:02Z</dc:date>
    </item>
  </channel>
</rss>

