<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Credential Provider Path Method Authentication in Secrets Management</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305399#M191</link>
    <description>&lt;P&gt;Hi @Argon Lau​&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are options to have path just as folder or full path pointing to exe. I tested with both and it works fine for now. &lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 14:57:14 GMT</pubDate>
    <dc:creator>Sanzu</dc:creator>
    <dc:date>2026-02-10T14:57:14Z</dc:date>
    <item>
      <title>Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305395#M187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hope you are doing well. I have been testing CP Path Authentication method on one of the windows machines. I have been getting below errors. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;Error: 
[06/02/2026 | 22:11:11] |  ::  | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]
[06/02/2026 | 22:13:30] |  ::  | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]
[06/02/2026 | 22:13:38] |  ::  | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]&lt;/CODE&gt;&lt;P&gt; Error 2: &lt;/P&gt;&lt;CODE&gt;APPEX003E: The Credential Provider has encountered an error. For more information, see the Credential Provider logs.&lt;/CODE&gt;&lt;P&gt;My Configuration in Main.Conf.x.x file for CP is as given below:&lt;/P&gt;&lt;CODE&gt;[Main]
MaxConcurrentRequests=40
AutomaticParmsRefreshInterval=3600
ProviderCacheFolder="C:\Program Files\CyberArk\ApplicationPasswordProvider\Cache"
&amp;nbsp;
[Debug]
#CacheDebugLevels=0,1,2
#AppProviderDebugLevels=0,1,2,3,4,5
#ProtocolDebugLevels=0,1,2
&amp;nbsp;
[Cache]
CacheLevel=Persistent
CacheFile="C:\Program Files\CyberArk\ApplicationPasswordProvider\Cache\appprovider_cache.db"
CacheRefreshInterval=1500
VaultAccessInterval=31536000
KeyStorage=Local
CachedSecretExpiry=168
&amp;nbsp;
[TCP]
Port=18923
TrustedCLIShells="c:\windows\system32\cmd.exe","c:\windows\syswow64\cmd.exe","c:\windows\system32\wscript.exe","c:\windows\syswow64\wscript.exe","c:\windows\system32\cscript.exe","c:\windows\syswow64\cscript.exe","c:\windows\system32\windowspowershell\v1.0\powershell.exe","c:\windows\syswow64\windowspowershell\v1.0\powershell.exe"&lt;/CODE&gt;&lt;P&gt;PVWA Conosle Configured as shown below:&lt;/P&gt;&lt;CODE&gt;For Path Authenication. 
I have kept path as shown below.
&amp;nbsp;
D:\Program Files(x86)\CyberArk&lt;/CODE&gt;&lt;P&gt;Note: I am able to retreive password with CLI SDK without any authentication method set in PVWA Console however, whenever I set above path, it throws above errors. Hence, below is my CLI SDK Command copied and used from official doc. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;CLIPasswordSDK.exe GetPassword /p AppDescs.AppID=CP-TEST /p Query="Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject" /o Password 2&amp;gt;&amp;amp;1&lt;/CODE&gt;&lt;P&gt;I tried fixing looking at below articles but could not succeeded. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/cli-application-password-sdk-errors.htm?tocpath=Developer%7CCredential%20Provider%20(CP)%7CApplication%20Password%20SDKs%7CCLI%20Application%20Password%20SDK%7C_____2" href="https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/cli-application-password-sdk-errors.htm?tocpath=Developer%7CCredential%20Provider%20(CP)%7CApplication%20Password%20SDKs%7CCLI%20Application%20Password%20SDK%7C_____2" target="_blank"&gt;Errors | CyberArk Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://community.cyberark.com/s/article/APPEX003E-The-Credential-Provider-has-encountered-an-error-For-more-information-see-the-Credential-Provider-logs" href="https://community.cyberark.com/s/article/APPEX003E-The-Credential-Provider-has-encountered-an-error-For-more-information-see-the-Credential-Provider-logs" target="_blank"&gt;APPEX003E: The Credential Provider has encountered an error. For more information, see the Credential Provider logs.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://community.cyberark.com/s/article/00004219" href="https://community.cyberark.com/s/article/00004219" target="_blank"&gt;"APPAP309E Script run using untrusted shell" when PATH restrictions are turned on&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://community.cyberark.com/s/article/APPAP309E-Script-run-using-untrusted-shell-is-observed-when-integrating-with-in-memory-application" href="https://community.cyberark.com/s/article/APPAP309E-Script-run-using-untrusted-shell-is-observed-when-integrating-with-in-memory-application" target="_blank"&gt;"APPAP309E Script run using untrusted shell" is observed when integrating with "in memory" application&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://community.cyberark.com/s/article/00004787" href="https://community.cyberark.com/s/article/00004787" target="_blank"&gt;Credential Provider: AIM script produces "Could not read command line structure, Error code: 0" error&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence, need help to understand whether I am doing somewhere wrong or any other additional things to done to make it successful?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 22:29:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305395#M187</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2026-02-06T22:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305396#M188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is the path you have custom or is a space missing between Program and Files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script file must contain full paths.&lt;/P&gt;&lt;P&gt;For example, if leveraging a command prompt to launch the script.&lt;/P&gt;&lt;P&gt;cmd.exe /c D:\ProgramFiles(x86)\CyberArk\YOUR_SCRIPT_FILE.bat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 12:48:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305396#M188</guid>
      <dc:creator>donovan_ctr_demshock</dc:creator>
      <dc:date>2026-02-09T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305397#M189</link>
      <description>&lt;P&gt;The space between Program and Files are just typo. CP by design do not take script file (uncompiled) in windows. It only takes file as bat, cmd or exe in windows machines and .sh works fine for in Linux box. Also, it is not necessary to have full path exactly pointing to compiled scripts. Just relative folder path also works. I tested and it works fine for now. Everything has been sorted out. &lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 14:17:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305397#M189</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2026-02-09T14:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305398#M190</link>
      <description>&lt;P&gt;Hi @sanjay sah​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The path that you provided is,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;D:\Program Files(x86)\CyberArk&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is just the folder, not a Full Path. Maybe you can try,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;D:\Program Files (x86)\CyberArk\ApplicationPasswordSdk\CLIPasswordSDK.exe &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 10:02:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305398#M190</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-02-10T10:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305399#M191</link>
      <description>&lt;P&gt;Hi @Argon Lau​&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are options to have path just as folder or full path pointing to exe. I tested with both and it works fine for now. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 14:57:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305399#M191</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2026-02-10T14:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305400#M192</link>
      <description>&lt;P&gt;What did you do to fix the errors? &lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 21:55:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305400#M192</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-02-10T21:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305401#M193</link>
      <description>&lt;P&gt;I converted the script into exe and tested it just providing the path of the folders where it resides as well as also tested pointing exactly to exe then it worked both way. I was trying to test with .ps1 script, it didn't help me. It seemed by design CP takes exe, bat, cmd etc files to retrieve the password or it seems like there should be some wrapper to be created to map exe to any other raw scripts. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 22:17:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305401#M193</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2026-02-10T22:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Provider Path Method Authentication</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305402#M194</link>
      <description>Hi Sanzu,

If you are running .ps1 script, I think you should use the path of PowerShell (e.g. C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe) on the allow list.

I haven't tried that, maybe you can test to confirm.

Regards,
Argon</description>
      <pubDate>Wed, 11 Feb 2026 09:25:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/credential-provider-path-method-authentication/m-p/1305402#M194</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-02-11T09:25:07Z</dc:date>
    </item>
  </channel>
</rss>

