AAM - How can I create or update the credential files (credfile) for the provider manually? (VERSION 12.1+ ONLY)

AAM - How can I create or update the credential files (credfile) for the provider manually? (VERSION 12.1+ ONLY)

130
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM


Objective


How can I create or update the credential files (credfile) for the provider manually?

Environment


12.1;12.2;12.4;12.3;12.5;12.6;14.0 Privileged Access Manager (PAM, self-hosted) Credential Provider

Procedure


IMPORTANT NOTE: This article is for version 12.1 ONLY. If you are on version 12.0 or below, please follow this article instead

To determine your version, run the following command. The following output indicates version 12.1 or higher:

image.png

Versions under 12.1 print the following with a version below 12.1:
image.png

 

For version 12.1 or above

Windows:

1. Open the services console and stop the CyberArk Application Password Provider service
image.png

2. Logon to the PrivateArk Client as “Administrator” or any other user with “Manage Users” privileges in the root location.
pvwacredfiles2.png

3. Go to Menu “Tools-Administrative Tools-Users and Groups”
pvwacredfiles3.png

4. Select your provider user and click “Update”. (Note: Make sure you select the right provider user. You can find the correct provider user by checking the text of the credfile in step 7.)
image.png
5. In the “Authentication Tab” specify a new, random password in the “Password” field, repeat it and click “OK”. Write down or remember the password as it will be used in a later step.
image.png

6. Click "Trusted Net Areas" button and make sure "State" is set to "Active". If it is set to "Inactive" click "Activate" to change the state to active.
image.png

7. In an administrative level command prompt, browse to <Drive>:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Vault\

8. Use the createcredfile.exe tool with the following syntax:

CreateCredFile.exe <existing cred filename> Password /Username <credential provider username> /Password <newly set credential provider password> /Hostname /EntropyFile

Note:
The "existing cred filename
" is as mentioned in the folder (AppProviderUser.cred)



9. Restart the provider service
image.png


-------

Unix:

1. Stop the provider with the following command:

/etc/init.d/aimprv stop

2. On another machine with access, Logon to the PrivateArk Client as “Administrator” or any other user with “Manage Users” privileges in the root location.
pvwacredfiles2.png

3. Go to Menu “Tools-Administrative Tools-Users and Groups”
pvwacredfiles3.png

4. Select your provider user and click “Update”. (Note: Make sure you select the right provider user. You can find the correct provider user by checking the text of the credfile in step 7.)
image.png

5. In the “Authentication Tab” specify a new, random password in the “Password” field, repeat it and click “OK”. Write down or remember the password as it will be used in a later step.
image.png

6. Click the "Trusted Net Areas" button and make sure "State" is set to "Active". If it is set to "Inactive" click "Activate" to change the state to active.
image.png

7. CD to /opt/CARKaim/bin, then type the following:

sudo ./createcredfile <path where cred file is stored>/<existing cred filename> password -username <credential provider username> -password <newly set credential provider password> -hostname -entropyfile

Note:
*Sudo might be needed if the account used is not root
*UNIX is case sensitive


8. Start the provider with the following command:

/etc/init.d/aimprv start

/etc/init.d/aimprv start


Actions
  • Print
  • Copy Link

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