How to use the CLIPasswordSDK on Linux and Windows Credential Providers

How to use the CLIPasswordSDK on Linux and Windows Credential Providers

91
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 15:52 PM


Objective


This article goes over how to test the CLIPasswordSDK on Linux and Windows Credential Providers. This article is made for the intention of testing that the Credential Provider can fetch passwords from the Vault.

Environment


Privileged Access Manager (PAM, self-hosted) Credential Provider

Procedure


Note: All of these steps assume that you have already installed the credential provider on the machine and the service called CyberArk Application Password Provider (Windows) or aimprv (Linux) are in a running state.

1. Login to the PVWA as an administrator, and go to the applications tab, then click add application in the top right:

image.png

2. Create an application called testapp, then click add:

image.png

3. Login to the PrivateArk Client, right click and select "New", this will create a new safe, name the safe Test:

image.png

4. Open the safe and right click then select New>PrivateArk Protected Object>Password

Then fill out the object name and password, I will call this object "test", with the password "CyberArk1":

image.png

5. Exit the Test safe and right click it and go to Owners, then click Add:

image.png

6. Expand the Application group and click on the testapp application (that we just created in step 1) and your PROV_hostname (this is the hostname of the Credential Provider machine) and click the right arrow, along with the permissions checked as shown in the screenshot, then click OK:

image.png

7. Once these steps have been completed, go onto your Credential Provider machine and find the CLIPasswordSDK.exe.

In Windows this is usually found in C:\Program Files (x86)\CyberArk\ApplicationPasswordSDK

In Linux this is usually found in /opt/CARKaim/sdk

For Windows, run the following command from the ApplicationPasswordSDK folder in an Administrative Command Prompt or Powershell window:


image.png

In Linux, run the following command under the /opt/CARKaim/sdk folder:


image.png
Where AppDesc.AppID is the application we just created testapp, Safe is the safe we just created called Test, and the Object is the Password Object we created in the PrivateArk client named test. These commands should return the password you set for the test object as shown in the screenshots above.
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000nYdCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail