- 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.
07-10-2025 04:41 AM
We are currently trying to simulate various disaster recovery (DR) scenarios. With the credential provider, we expected that after the cache duration had expired, no passwords would be issued anymore. However, we found that this was not the case and that passwords continued to be used. Has anyone had similar experiences with this issue?
07-10-2025 08:10 AM
even if the Vault is not available, the password object should be fetched from the cache
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/configuring-caching.htm#Overview
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/configuring-caching.htm?Highlight=inaccessible
In your specific case, have you tried to restart CP with the offline Vault and check the result?
07-10-2025 05:16 AM
How you configure cache expired duration?
As i know that cache memory will be valid as long as system didnt restart.
07-10-2025 05:29 AM
Hi @Lukas Böllert
What's your cache duration set?
What's the CacheLevel parameter chosen for caching on your end?
As stated above, it's expected that you can retrieve the passwords depending on your cache configurations
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/configuring-caching.htm
So, elaborate on your workflow and current settings
07-10-2025 06:04 AM
The cache mode was set to Persistent with a time of 25 minutes.
07-10-2025 06:18 AM
you are talking about the CacheRefreshInterval parameter, right?
If so, then it's expected that in case you haven't changed the password on the Vault side, you still can fetch it
Or do you mean hat it's been rotated and you still can fetch the old version of that password? Even after 25 minutes?
Can you then explain in details your DR scenarios?
07-10-2025 07:43 AM
The scenario is that the vault is unavailable. We want to know how long the CP can provide the password without a connection to the vault server. I thought that once the time defined by the CacheRefreshInterval parameter has expired, the CP would no longer be able to provide the password...
07-10-2025 08:10 AM
even if the Vault is not available, the password object should be fetched from the cache
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/configuring-caching.htm#Overview
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/configuring-caching.htm?Highlight=inaccessible
In your specific case, have you tried to restart CP with the offline Vault and check the result?
07-10-2025 11:11 PM
ok, i think that i had wrong informations about the functionality from the cache. We will test what happens if the vault is offline and the cp service would be restarted!
Thanks for your help!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

