manage cyberark creds with rest api

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

manage cyberark creds with rest api

L3 Networker

Hi Everyone,

 

We are working on a project where our goal is to programmatically manage secrets (e.g., IAM credentials, database passwords, SSH keys) using CyberArk’s capabilities.

We plan to fully utilize CyberArk’s REST API with certificate-based authentication to support end-to-end secret lifecycle management (read, create, update)

 

Objective:

To enable a certificate-authenticated service account to use CyberArk's REST API to:

  1. Log in securely using a client certificate (mTLS)
  2. Query secrets (accounts) within specific safes
  3. Create new secrets if the specified account is not found (UPSERT logic)

 

My question is that do we need to enable certificate auth in PVWA Authentication Methods to allow the service account to log into CyberArk? or there is any other simpler way in which this can be done.

 

Thanks in advance.

5 REPLIES 5

L6 Presenter

The PVWA does not natively support mTLS, though you could likely configure IIS to make it work. I worry this would be an unsupported approach and difficult to manage.

 

The best architecture likely involves some type of reverse proxy middleware solution. You could terminate TLS traffic in front of the PVWA to perform certificate validation, pass through any relevant information in the header, and enforce policy at this "load balancer". I suspect you could pass user info through the header that would map to a Windows authentication identity against the PVWA.

L4 Transporter

The PVWA doesnt support certificate based authentication at all. It only support basic token -bearer where you will pass the credentials as part of the request to get the token.

 

You can potentially enable the certificate based authentication at IIS level but it will cause the with all the users working with PVWA. so having a dedicated PVWA with certificate based authenticatioin enabled in IIS could help you achieve the mTLS where the certificate directly pass through in the request itself.

L4 Transporter

The PVWA doesnt support certificate based authentication at all. It only support basic token -bearer where you will pass the credentials as part of the request to get the token.

 

You can potentially enable the certificate based authentication at IIS level but it will cause the with all the users working with PVWA. so having a dedicated PVWA with certificate based authenticatioin enabled in IIS could help you achieve the mTLS where the certificate directly pass through in the request itself.

L3 Networker

can we use rest api for password fetching and onboarding accounts using a AD based service account

Yes, REST API supports password retrieval and account onboarding for any user with access. I would generally caution against API-based password retrieval workflows, so please keep your environment and code secure.

  • 169 Views
  • 5 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!