Rest api logon with Credential provider

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

Rest api logon with Credential provider

L4 Transporter

hello everybody,

 

Is it possible to login using Cyberark credential provider instead of typing the password in clear text when logging in via the Rest api? Has anyone tried this kind of thing before?

In other words, I actually want to buy tokens with a user-pass that I keep in the safe, without manually typing the username and password information.

 

thanks

2 REPLIES 2

L7 Applicator

Hi @Abdulkadir Maraz​ 

 

Yes it should be possible via CCP to retrieve and pass the credentials in Rest API.

 

I’ve not worked on it yet but there is a nice discussion on Reddit

 

Hope it helps !

 

https://www.reddit.com/r/CyberARk/comments/q8crz3/ccp_password_authentication_in_account_onboard/

L3 Networker

Yes this is possible if you have a script that you want to execute some function within the REST api. First create a CyberArk Account in the PVWA that has the permissions to do what you want. Then retrieve the credential with the script via C/CP. Then you can pass the creds to authenticate to the REST API.

 

Something that's noteworthy is that the things retrieved from the C/CP are in clear text. It is NOT transmitted in the clear if you are using port 443.

 

Let me know if you have any other questions.

 

Thanks,

 

Darren

  • 206 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!