CPM - One time password policy and other time restrictions

CPM - One time password policy and other time restrictions

89
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 13:01 PM


Question


If a policy is set as a "One Time" policy (OneTimePassword=Yes) and there are additional time constrains on the policy, for example the "FromHour", "ToHour" or the "ExecutionDays" parameters are specified, when will the change task take place?


Environment


10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.6;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Answer


Time constrains are always enforced and override the "One Time". This means that if a password object is retrieved at 12PM and the change task in the policy is set with FromHour=1 and ToHour=5 (to enforce password change only between 1-5AM), the password will change only after 1AM.
Note that the MinValidityPeriod parameter also plays a role in when the CPM will change the password. For example, if a "One Time" password is retrieved at 12AM, the change task in the policy is set with FromHour=1 and ToHour=5 and the MinValidityPeriod is set to 120 (it's in minutes), then the password will not change before 2AM.

One other parameter that affects the time in which the CPM will attempt to change a password is the MinDelaysBetweenRetries. This is the minimum delay in minutes between password change process retries.
The MinDelayBetweenRetries will overwrite any other parameter including ResetImmediately. Make sure the combination of the above parameters does not cause "starvation" of the password change task (a state in which the password will never change).

Notes:
  • It is recommended that when using a One time policy, the Safe, in which the password objects associated with this policy are stored, is set as an "Exclusive" Safe
  • When a user releases an exclusive, one-time password object (clicks the “Release” button), the password object is flagged for immediate change and the CPM will handle this action as an immediate operation, meaning that MinValidityPeriod will be enforced only if ResetOverridesMinValidity is set to "No".
  • When MinValidityPeriod is enforced, retrieve operations reset the counter according to the following rules:
* In CPM v4.5 and earlier – Every password retrieval (by either the CPM user or any human user) will reset the counter In.
* CPM v4.6 and later – Only human retrieval will reset the counter (CPM retrievals will not reset the counter).

Keep in mind-
If the platform is set to OTP and NOT with Exclusive Check-in/Check-out, there is no release button if the password is used.


Additional Information


Details

Q:
If a policy is set as a "One Time" policy (OneTimePassword=Yes) and there are additional time constrains on the policy, for example the "FromHour", "ToHour" or the "ExecutionDays" parameters are specified, when will the change task take place?

A:
Time constrains are always enforced and override the "One Time". This means that if a password object is retrieved at 12PM and the change task in the policy is set with FromHour=1 and ToHour=5 (to enforce password change only between 1-5AM), the password will change only after 1AM.
Note that the MinValidityPeriod parameter also plays a role in when the CPM will change the password.
For example, if a "One Time" password is retrieved at 12AM, the change task in the policy is set with FromHour=1 and ToHour=5 and the MinValidityPeriod is set to 120 (it's in minutes), then the password will not change before 2AM.

One other parameter that affects the time in which the CPM will attempt to change a password is the MinDelaysBetweenRetries. This is the minimum delay in minutes between password change process retries. The MinDelayBetweenRetries will overwrite any other parameter including ResetImmediately. Make sure the combination of the above parameters does not cause "starvation" of the password change task (a state in which the password will never change)

Notes:
  • It is recommended that when using a One time policy, the Safe, in which the password objects associated with this policy are stored, is set as an "Exclusive" Safe
  • When a user releases an exclusive, one-time password object (clicks the “Release” button), the password object is flagged for immediate change and the CPM will handle this action as an immediate operation, meaning that MinValidityPeriod will be enforced only if ResetOverridesMinValidity is set to "No".

  • When MinValidityPeriod is enforced, retrieve operations reset the counter according to the following rules:
    In CPM
    v4.5 and earlier – Every password retrieval (by either the CPM user or any human user) will reset the counter

    In CPM v4.6 and later – Only human retrieval will reset the counter (CPM retrievals will not reset the counter).




Actions
  • Print
  • Copy Link

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