- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-17-2024 10:42 AM
Hi,
I know CCP works 443 and CP on port 1858 and both have local cache mechanism. For Whatever CP can be utilized, CCP can help too only having difference that CP is agent based.
Therefore, my question is -- What major thing/use cases gives different identity and importance to each product (i.e. CCP vs CP?
12-17-2024 01:51 PM
One of the use cases:
CP: If it is a critical application and the application needs to fetch password from Vault very frequently (like multiple times per sec/minutes), cannot afford any downtime, then better to have the agent speak to Vault directly and avoid any delays. Also will have less dependency on another server(CCP).
CCP: A central server which has the required agent and multiple applications fetch password from this CCP server.
12-17-2024 01:54 PM
As I stated above, I am aware about these. BUT once vault (In case of no any failover) goes down CP service also goes down. Then password retrieval breaks. How would you deal in this case except fetching password from local cache?
12-17-2024 04:38 PM
Hi @sanjay sah
There a nice documentation from CyberArk for this. Please refer to the following link. Hope it helps !
https://docs.cyberark.com/credential-providers/latest/en/content/ccp/the-cyberark-application-identity-management-solution.htm?tocpath=Get%20Started%7C_____1#:~:text=For%20more%20information%2C%20refer%20to,on%20each%20end%20user%20machine.
12-18-2024 08:32 AM
Thank You @Malhar Vora I was aware about those description. My main motive of this post is -- For an example: - CCP or CP password retrieval gets stopped automatically whenever Vault gets stopped (think that there is no any failover scenario) because CCP and CP service gets stopped. Now, you only have way to retrieve the password from local cache which will take time during some incident and automation will be in hectic situations for some time. What would you think in this case when you are in nonplussed situation except you have idea to pull password from local cache?
Therefore, I want to know what other great features make quite make separate identity between CCP and CP because both CCP and CP have local cache mechanism. so, are there any great features which makes some greatest difference between CCP and CP?
12-18-2024 09:54 AM
I'd just like to point out here that you wouldn't really explicitly treat them as separate entities. A CCP functions as an extension to the CP over a web server to make those calls available over the network. A CCP still requires a CP underneath it to work. It's the CP that's still making those calls. It's more to do with the use case for your specific application. For example, let's say you have a Windows server which you have full control over. You may stick with a CP as you can perform the installation on the server and it will fulfil your use case for critical applications on that server. But now let's assume you're trying to use a CP to run authenticated scans with Qualys. A Qualys scanner is an appliance and you cannot install a CP on the appliance. In this scenario you have no option but to have the CP installed on another server, install the CCP on top of it to make those retrieved passwords available over the network, and then have Qualys pull the credentials through REST API calls using the CCP web service.
That said, as mentioned in the documentation, for mission critical applications, you want the CP on your application server as it provides the secure cache, low latency, and I think stronger authentication mechanisms. The CP allows local retrieval. The CCP can then make the retrieval accessible remotely across the network.
You can check point 1 in the Implementation section of this really nice CyberArk KB on securing applications using CP/CCP: https://community.cyberark.com/s/article/Securing-Homegrown-Static-OS-Applications-with-CyberArk-Secrets-Manager
01-06-2025 12:28 PM
Hi @sanjay sah ,
You can start with the more prevalent defining characteristic. The CCP is called using REST and the CP is a local agent that must be executed. @Tanishq Pandey is correct in saying they aren't really two distinct solutions. They are both CPs where one just has a website on top of it. Everything else is identical since it's just a CP.
Hope this helps!
Thanks,
Darren
01-07-2025 10:39 AM
Yes, I am aware about that I would be quite happy if CP had something similar that Password Retrieval is ongoing/continued fetching out from local cache in the case/event of CP service failure or CA down. It would be really nicer one. Instead of going to retrieve the password from local cache in the emergency. I don't mean local cache should be removed, I meant in addition of local cache, if CP had capability to fetch password in really hectic situation, then it would be real nice. I hope I made sense
01-10-2025 12:53 PM
Hey @sanjay sah ,
Let me see if I understand the constraints of the situation.
Do I have it right?
If so, that's a tricky situation. What would you want to happen in this scenario? What would you design?
Thanks,
Darren
01-10-2025 01:08 PM
Hi Darren,
Thats correct. I think you got me.
I would think to design as like mentioned below:
Let's assume the real bad scenario in the first place: We have situation where vault is down, and CCP/CP Service is down. Now, in this scenario we are in difficult situation where automatic password retrieval has been stopped, and we are thinking to retrieve the password from local cache, but it will take time, and we are in non-plussed situation. Therefore, I would think like below which is mentioned below.
Reasonable Design if possible: I would say CCP/CP service should be mostly useful to retrieve the password from vault and store somewhere inside CCP/CP same/similar as/to local cache. Whenever CCP/CP service is down, or Vault is down or BOTH are down, then Password retrieval should not stop. so basically, password retrieval should process from CCP/CP and should be ongoing to the users' application or servers where it has been worked to be fetched. This is the way I would think. I don't know if this is smart way of thinking.
I hope I made sense.
01-10-2025 01:32 PM
Are you saying to store it in a file?
01-10-2025 01:38 PM
Nope. Something same as local cache or if local cache can be enhanced then its also fine. or some type of static database with high security. Definitely I would not think file 😀 😀 😀
01-10-2025 01:44 PM
Well it can't be in the cache because the cache is gone if the process is not running. Where else could it be placed?
01-10-2025 01:48 PM
You question is million dollars' worth. 😀 As I am not developer. I would say/ask you if it is possible to have tiny database created with high security whenever we install CCP/CP in our server and that tiny database would be helpful in this scenario? Can CCP/CP be enhanced in this way?
01-15-2025 01:43 PM
A tiny database could work. We both agree that it shouldn't be written to the file system. That leaves storing across the network (but we already don't want this because the network is down in this scenario) and in memory. Storing in memory will work but needs a process to actively store something in memory so that it isn't just floating in some random memory address. We can wrap the memory space with some encryption but then need an active process to perform decrypt and encrypt functions when needing a secret. That sound good so far?
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!

