Credential Provider - background cache process behaviour - Why don't I see the AppUser accessing my password every "CacheRefreshInterval"?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Secrets Management Articles
2 min read
L0 Member
No ratings

Question

One of my applications is using AppPrv to retrieve database password. In my main_approvider.conf, the CacheRefreshInterval is 180 seconds (3 minutes).

However, I cannot see any activity logs (in the Vault) that the ProviderUser has accessed the Safe every 3 minutes.  Why is that?

Answer

The CacheRefreshInterval is 180 meaning the provider will access the Vault every 3 minutes in order to refresh the cache. However, in each access to the Vault it will compare the "Last Modified" time stamp of the password object to the information that is written in the local cache.

If the last modified time stamp is the same as the one in the local cache - the provider will NOT retrieve the password, meaning you will not see any activity in the Vault done by the provider user. However if the password was changed, the provider will retrieve it and you will see this activity in the activity logs (Inspect activity).

Q:

One of my applications is using AppPrv to retrieve database password. In my main_approvider.conf, the CacheRefreshInterval is 180 seconds (3 minutes).

However, I cannot see any activity logs (in the Vault) that the ProviderUser has accessed the Safe every 3 minutes.
Why is that?

 

A:

The CacheRefreshInterval is 180 meaning the provider will access the Vault every 3 minutes in order to refresh the cache. However, in each access to the Vault it will compare the "Last Modified" time stamp of the password object to the information that is written in the local cache.

If the last modified time stamp is the same as the one in the local cache - the provider will NOT retrieve the password, meaning you will not see any activity in the Vault done by the provider user. However if the password was changed, the provider will retrieve it and you will see this activity in the activity logs (Inspect activity).

Rate this article: