Authentication Failure for AIM Application User Occurs Periodically
Symptom
An authentication failure error occurs when using the Cyber-Ark SDK with the Password Provider to retrieve password objects from the Vault. After resetting the password of the Application Account (App_xxx) in the Vault to the original password, the problem is resolved for a short period of time and then reoccurs.
Environment
10.10;12.0;12.1;12.4;12.6 Privileged Access Manager (PAM, self-hosted) Credential Provider Credential Provider
Cause
The problem is that the Application Account - App_xxx is being used on multiple machines. Each App_xxx user on each machine requires a user credential file to authenticate to the Vault. When the App_xxx user account’s password is updated in the Vault (on a daily basis) it will only update the user credential file on one machine (the machine from which the application was used). If the App_xxx user account is being shared among multiple machines, the credential files for the App_xxx user account on other machines will be out-of-sync causing this issue.
Resolution
Each machine should have at least one dedicated App_xxx user account and user credential file to connect to the Vault server with.
Even when the same application is installed on different machines, the application user that is used in each instance of the application requires its own user credential file. This provides the following benefits:
- Audit – The log files indicate the application user for each node or application that retrieved passwords.
- Access Control – Passwords can only be accessed by authorized application users.
- Management – Although each user requires its own credential file and appropriate authorizations to retrieve passwords, this method maintains the high level of password security in both the Vault and the Provider.
Additional Information
Details
SYMPTOM:An authentication failure error occurs when using the Cyber-Ark SDK with the Password Provider to retrieve password objects from the Vault. After resetting the password of the Application Account (App_xxx) in the Vault to the original password, the problem is resolved for a short period of time and then reoccurs.
PROBLEM
The problem is that the Application Account - App_xxx is being used on multiple machines. Each App_xxx user on each machine requires a user credential file to authenticate to the Vault. When the App_xxx user account’s password is updated in the Vault (on a daily basis) it will only update the user credential file on one machine (the machine from which the application was used). If the App_xxx user account is being shared among multiple machines, the credential files for the App_xxx user account on other machines will be out-of-sync causing this issue.
SOLUTION
Each machine should have at least one dedicated App_xxx user account and user credential file to connect to the Vault server with.
Even when the same application is installed on different machines, the application user that is used in each instance of the application requires its own user credential file. This provides the following benefits:
- Audit – The log files indicate the application user for each node or application that retrieved passwords.
- Access Control – Passwords can only be accessed by authorized application users.
- Management – Although each user requires its own credential file and appropriate authorizations to retrieve passwords, this method maintains the high level of password security in both the Vault and the Provider.