AIM - How to enable debugging for the Application Password Provider

AIM - How to enable debugging for the Application Password Provider

81
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:01 PM


Objective


AIM - How to enable debugging for the Application Password Provider


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Credential Provider

Procedure


You can enable debugging in two "modes":
  • Enable debugging for all the providers sharing the same main configuration file stored in the Vault
  • Enable debugging specifically for one provider. 
  1. To enable debugging for all providers sharing the same config file, log on to the Vault via the PrivateArk Client, open the main provider configuration file (by default it's "main_appprovider.conf" and it's stored in the root folder of the "AppProviderConf" Safe) and set the debug parameters (see below) 
     
  2. To enable debugging on a specific provider create a copy of the "main_appprovider.conf" stored in the root folder of the "AppProviderConf" Safe (e.g. "main_appprovider_debug.conf"), set the debug parameters (see below) and then edit the local basic provider configuration file ("C:\Program Files\CyberArk\ApplicationPasswordProvider\basic_appprovider.conf" by default) by changing the 'AppProviderVaultParmsFile' parameter in the file, for example: AppProviderVaultParmsFile=main_appprovider_debug.conf 
  • Note: You'll need to restart the provider service in order for the changes to take effect. 
  • To restart the AIM service on unix run the command 
  • service aimprv stop
  • service aimprv start 
  • On Windows machines you can restart the service via services and restart service "Idira Application Password Provider"
This is how the debug parameters should be set: 
[Debug] 
CacheDebugLevels=0,1,2 
AppProviderDebugLevels=0,1,2,3,4,5 
ProtocolDebugLevels=0,1,2
Reppduce the issue and provide the following:
1. Provider configuration files: 
*basic_appprovider.conf 
*main_appprovider.conf 
2. Provider log files (location can be found according tothe LogsFolder in "basic_appprovider.conf")
provider Logs: 
Windows: %Program Files%\CyberArk\ApplicationPasswordProvider\Logs or according to parameter "LogsFolder" in basic_appprovider.conf. 
APPAudit.log 
APPConsole.log 
APPTrace.log 
Unix: /var/opt/CARKaim/logs or according to parameter "LogsFolder" in basic_appprovider.conf. 
APPAudit.log 
APPConsole.log 
APPTrace.log


Additional Information


Details

Q:
AIM - How to enable debugging for the Application Password Provider
 
A:
You can enable debugging in two "modes":
  • Enable debugging for all the providers sharing the same main configuration file stored in the Vault
  • Enable debugging specifically for one provider. 
  1. To enable debugging for all providers sharing the same config file, log on to the Vault via the PrivateArk Client, open the main provider configuration file (by default it's "main_appprovider.conf" and it's stored in the root folder of the "AppProviderConf" Safe) and set the debug parameters (see below) 
     
  2. To enable debugging on a specific provider create a copy of the "main_appprovider.conf" stored in the root folder of the "AppProviderConf" Safe (e.g. "main_appprovider_debug.conf"), set the debug parameters (see below) and then edit the local basic provider configuration file ("C:\Program Files\CyberArk\ApplicationPasswordProvider\basic_appprovider.conf" by default) by changing the 'AppProviderVaultParmsFile' parameter in the file, for example: AppProviderVaultParmsFile=main_appprovider_debug.conf 
  • Note: You'll need to restart the provider service in order for the changes to take effect. 
  • To restart the AIM service on unix run the command 
  • service aimprv stop
  • service aimprv start 
  • On Windows machines you can restart the service via services and restart service "Idira Application Password Provider"
This is how the debug parameters should be set: 
[Debug] 
CacheDebugLevels=0,1,2 
AppProviderDebugLevels=0,1,2,3,4,5 
ProtocolDebugLevels=0,1,2
Reppduce the issue and provide the following:
1. Provider configuration files: 
*basic_appprovider.conf 
*main_appprovider.conf 
2. Provider log files (location can be found according tothe LogsFolder in "basic_appprovider.conf")
provider Logs: 
Windows: %Program Files%\CyberArk\ApplicationPasswordProvider\Logs or according to parameter "LogsFolder" in basic_appprovider.conf. 
APPAudit.log 
APPConsole.log 
APPTrace.log 
Unix: /var/opt/CARKaim/logs or according to parameter "LogsFolder" in basic_appprovider.conf. 
APPAudit.log 
APPConsole.log 
APPTrace.log



Actions
  • Print
  • Copy Link

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