- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-29-2018 04:28 AM
Hi,
I was under impression that we cannot retrieve the password using the REST API call, but recently when I was exploring this, I found it was possible using the Account ID. I want to know if both CCP and REST calls can be used to retrieve the password then which one should is recommended and in which use case?
Also, I know we can add accounts to the vault using REST calls but we can do it through CCP?
Are there any points you can highlight for difference between the two?
11-29-2018 11:52 AM
Both ways have overlap regarding to retrieval of account values (passwords or SSH keys). Automation tasks (creating accounts/safes/users, deleting, modifying, ...) can only be done through the REST API.
A key difference is the authentication:
11-29-2018 06:32 AM
WebSDK REST calls and CCP rest calls has different finctionalities.
Password object & Safe onboarding & amemdment taks can be achieved through WESDK REST Calls
Password CheckoutOut can be achieved through CCP REST Calls
11-29-2018 06:38 AM
For more details about REST Web Services refer :
https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Implementing%20Privileged%20Account%20Security%20Web%20Services%20.htm
For more details about CCP REST Calls refer :
Download CCP implementation doc from SFE
11-29-2018 11:52 AM
Both ways have overlap regarding to retrieval of account values (passwords or SSH keys). Automation tasks (creating accounts/safes/users, deleting, modifying, ...) can only be done through the REST API.
A key difference is the authentication:
01-11-2019 02:39 PM
@Bernhard Brückler great info. when we enable AD user authentication, application running under that Ad user, it validates and retrieves the password. Question: do we need to provide AD user password when we make an API call, or just application needs to run under AD user context ?
01-14-2019 07:15 AM
Also, CCP uses a local Provider to cache the passwords and all the CCP calls are retrieving it from the cache. If the Vault is down the passwords can still be retrieved from CCP.
04-05-2019 02:13 AM
From what I'm reading you need to provide the password - which is actually not great it terms of trying to automate tasks! I'm hoping I'm wrong and someone on here provide some detail?
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!

