AAM - How can I create or update the credential files (credfile) for the provider manually? (VERSION 12.1+ ONLY)
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:
Versions under 12.1 print the following with a version below 12.1:
For version 12.1 or above
Windows:
1. Open the services console and stop the CyberArk Application Password Provider service
2. Logon to the PrivateArk Client as “Administrator” or any other user with “Manage Users” privileges in the root location.
3. Go to Menu “Tools-Administrative Tools-Users and Groups”
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.)
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.
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.
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:
Note:
The "existing cred filename" is as mentioned in the folder (AppProviderUser.cred)
9. Restart the provider service
-------
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.
3. Go to Menu “Tools-Administrative Tools-Users and Groups”
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.)
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.
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.
7. CD to /opt/CARKaim/bin, then type the following:
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