- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-14-2023 01:06 PM
I am novice to CCP and we have an application where the password should be retrieved using CCP.
I have done the following steps which are mentioned below:
1) Onboarded the account proper account for the application or the OS machine where application exist.
2) Integrated Application ID and CCP ID/username to the safe where account is stored.
Now, I want to configure OS user authentication method and I read document:
Application authentication methods | CyberArk Docs
Authentication method configurations on the Central Credential Provider | CyberArk Docs
I understood reading the document that I need to add os user as domain\username in authentication section in PVWA and I need to provide command to fetch password using powershell:
$AppID = “App_MyApp”
$object = “Object-Name”
$CCPAddress = “CyberArkCCP/WindowsAuthentication/api/Accounts?AppID=$AppID&Object=$object”
$restresponse = invoke-restmethod -uri $CCPAddress -method GET -UseDefaultCredentials
Will above steps would suffice to configure OS user authentication method or should I need to do something further? Also, did i understand correctly?
09-15-2023 03:05 AM
Hi- @sanjay sah,
the call to get the secret is always a GET REST API but the composition of the string depends on the product used.
For testing you can use a browser, Postman cURL, etc. Then, obviously, you will have to make the appropriate changes based on the language used (PowerShell, VisualBasic, .NET, Java, etc.)
I'll give you a practical example:
Application: MyAppID
Safe: MySafeID
Name: MyNameID
Username: not relevant
Address: not relevant
CCP: URL_CCP (for example https://myccp.it)
- Test call to verify the ccp service
https://myccp.it/AIMWebservice/v1.1/AIM.asmx
- Get Secret from browser
https://myccp.it/AIMWebService/api/Accounts?AppID=MyAppID&SAFE=MySafeID&OBJECT=MyNameID
- Get Secret from cURL
curl -s -X GET "https://myccp.it/AIMWebService/api/Accounts?AppID=MyAppIDt&SAFE=MySafeID&OBJECT=MyNameID" -H "Content-Type:application/json"
Nino
09-15-2023 06:50 AM
Thank You Nino. It is really helpful. In this Authentication method configurations on the Central Credential Provider | CyberArk Docs article, I see "Configure Windows Domain Authentication" section mentioning many steps to be done. Should I have to do so or that's something else?
09-17-2023 12:24 AM
Hi @sanjay sah ,
I understand what you are referring to.
To be able to use the CCP service, for security, it is necessary to authorize the caller. Authorization is applied from the PVWA > Application interface.
Four authentication methods can be used for CCP. The simplest method to authorize a call is "Allowed Machines" as it is sufficient to indicate the IP/Hostname/FQDN of the caller (usually the application server). At an initial stage I advise you to use this method.
Joe Garcia has published some videos on the subject, I'll leave you the links
Nino
09-18-2023 01:56 PM
Thank You Nino. I watched his all videos and I didn't want to go with Certificates. I am focusing on OS user because some of the machines are ephemeral and I thought OS user would be the best idea to choose if IPs are changing time to time and there won't be any issue.
09-27-2023 09:59 AM
I tried doing OS user authentication but getting this below error:
Invoke-WebRequest: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
Since, I am not sure that there should be something done with certificate since we are trying to implement OS user authentication.
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!

