<?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: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA) in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333857#M30041</link>
    <description>&lt;P&gt;try &lt;/P&gt;&lt;CODE&gt;$headers = @{
&amp;nbsp;
  "Authorization" = $base64EncodedResponse
&amp;nbsp;
}&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2023 13:19:57 GMT</pubDate>
    <dc:creator>P.Maan845601</dc:creator>
    <dc:date>2023-07-24T13:19:57Z</dc:date>
    <item>
      <title>Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333850#M30034</link>
      <description>&lt;P&gt;I’m expecting to get a JSON response according to the documentation, but appear to be getting a quoted encoded base64 string. When the Base64 string is decoded, there are three values that are separated by semicolons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;- Should I expect my endpoint response to be JSON?&lt;/P&gt;&lt;P&gt;- Is there a way to force a JSON response?&lt;/P&gt;&lt;P&gt;- What are the three values currently being returned in the Base64 encoded string, and which one should I use as the session token?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PowerShell Logic Being Used (For Testing):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set TLS Version&lt;/P&gt;&lt;P&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Temporarily Skip Certificate Validation&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define your credentials&lt;/P&gt;&lt;P&gt;$username = "accountname"&lt;/P&gt;&lt;P&gt;$password = "accountpassword"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define the server IP&lt;/P&gt;&lt;P&gt;$pvwa = "ipaddress"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define the URI for the authentication&lt;/P&gt;&lt;P&gt;$uri_auth = "https://$pvwa/PasswordVault/API/auth/LDAP/Logon/"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Create a hashtable with the credentials&lt;/P&gt;&lt;P&gt;$credentials = @{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"username" = $username&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"password" = $password&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Convert credentials to JSON&lt;/P&gt;&lt;P&gt;$body = ConvertTo-Json $credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Make the POST request&lt;/P&gt;&lt;P&gt;$response = Invoke-WebRequest -Method Post -Uri $uri_auth -Body $body -ContentType "application/json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status code&lt;/P&gt;&lt;P&gt;Write-Output "Status code: $($response.StatusCode)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status description&lt;/P&gt;&lt;P&gt;Write-Output "Status description: $($response.StatusDescription)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the response content&lt;/P&gt;&lt;P&gt;Write-Output "Response content: $($response.Content)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Assume $response.Content contains Base64 encoded string&lt;/P&gt;&lt;P&gt;$base64EncodedResponse = $response.Content.Trim('"')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Decode the response&lt;/P&gt;&lt;P&gt;$base64DecodedBytes = [System.Convert]::FromBase64String($base64EncodedResponse)&lt;/P&gt;&lt;P&gt;$decodedResponse = [System.Text.Encoding]::UTF8.GetString($base64DecodedBytes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the decoded response&lt;/P&gt;&lt;P&gt;$decodedResponse&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 09:03:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333850#M30034</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-21T09:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333851#M30035</link>
      <description>&lt;P&gt;&lt;I&gt;Should I expect my endpoint response to be JSON?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Is there a way to force a JSON response?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Probably no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;What are the three values currently being returned in the Base64 encoded string, and which one should I use as the session token?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;The string in the response *is* the session token. No need to decode it... just store it in a variable and use that as the value for the "Authorization" header for subsequent requests.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 10:12:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333851#M30035</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-21T10:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333852#M30036</link>
      <description>&lt;P&gt;@Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply / insights. Do you happen to know how long a session token is valid for?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The doc I was using does not seem to highlight that info.&amp;nbsp;   &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud/Latest/en/Content/SDK/CyberArk%20Authentication%20-%20Logon_v10.htm&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 10:32:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333852#M30036</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-21T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333853#M30037</link>
      <description>&lt;P&gt;I'm guessing it is the same as the general inactivity timeout for the PVWA webpage (20 minutes by default, but can be changed), but I haven't actually tested that.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 10:55:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333853#M30037</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-21T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333854#M30038</link>
      <description>&lt;P&gt;I’m having no luck taking the base64 encoded response content (session token) and using that in my http Bearer Authorization header. Can someone provide working code showing how they handle their "PasswordVault/API/auth/LDAP/Logon/" content response and utilize it as a session token?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A PowerShell example is preferred, but any code example would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:23:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333854#M30038</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-21T13:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333855#M30039</link>
      <description>&lt;P&gt;Hi  @lawrence christensen​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't understand exactly if the problem you are having is to get the token or how to use it for subsequent calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend you to use Invoke-RestMethod instead of Invoke-WebRequest as below.&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Uri $uri_auth -Body $body -ContentType "application/json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$response contain the token (is equivalent of your $response.Content)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000RAeWpIAL.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/85860i648F2E975060A9E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000RAeWpIAL.png" alt="Field_Content_versions_oct20__068Ht00000RAeWpIAL.png" /&gt;&lt;/span&gt;Nino&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 08:28:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333855#M30039</guid>
      <dc:creator>A.Bambino095300</dc:creator>
      <dc:date>2023-07-22T08:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333856#M30040</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Antonino Bambino​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm receiving what looks to be a valid session token back when I use the PowerShell code posted with my initial question in this thread. I get the same base64 encoded string back when I use the “Invoke-RestMethod” or “Invoke-WebRequest” command. At the moment the benefit of the “Invoke-WebRequest” is that I can print the response status code (200) and status description (ok) when the code executes cleanly.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I have not been able to use that session token successfully to access the following endpoint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get users:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.6/en/Content/SDK/get-users-api.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____1" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.6/en/Content/SDK/get-users-api.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____1" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.6/en/Content/SDK/get-users-api.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you authenticate and receive a valid session token, how are you handling that session token to access other rest endpoints?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use the session token (base64 encoded) to access another rest endpoint I receive the following error message:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status code: 401&amp;nbsp;&lt;/P&gt;&lt;P&gt;Status description: An error has occurred please contact your administrator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I think this is likely happening because I’m not properly creating the session token header (see code). I was hoping to see how others were using it in their code so I could figure out where my deficiencies lie.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generic PowerShell Code:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define SSL Protocol Used&lt;/P&gt;&lt;P&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Skip Certificate Check&amp;nbsp;&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define your credentials&lt;/P&gt;&lt;P&gt;$username = "username"&lt;/P&gt;&lt;P&gt;$password = "password"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define the server IP&lt;/P&gt;&lt;P&gt;$pvwa = "ip"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define the URI for the authentication&lt;/P&gt;&lt;P&gt;$uri_auth = "&lt;A alt="https://$pvwa/PasswordVault/API/auth/LDAP/Logon/" href="https://$pvwa/PasswordVault/API/auth/LDAP/Logon/" target="_blank"&gt;https://$pvwa/PasswordVault/API/auth/LDAP/Logon/&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Create a hashtable with the credentials&lt;/P&gt;&lt;P&gt;$credentials = @{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"username" = $username&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"password" = $password&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Convert credentials to JSON&lt;/P&gt;&lt;P&gt;$body = ConvertTo-Json $credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Make the POST request&lt;/P&gt;&lt;P&gt;$response = Invoke-WebRequest -Method Post -Uri $uri_auth -Body $body -ContentType "application/json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status code&lt;/P&gt;&lt;P&gt;Write-Output "Status code: $($response.StatusCode)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status description&lt;/P&gt;&lt;P&gt;Write-Output "Status description: $($response.StatusDescription)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the response content&lt;/P&gt;&lt;P&gt;Write-Output "Response content: $($response.Content)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Assume $response.Content contains Base64 encoded string&lt;/P&gt;&lt;P&gt;$base64EncodedResponse = $response.Content.Trim('"')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Decode the response&lt;/P&gt;&lt;P&gt;$base64DecodedBytes = [System.Convert]::FromBase64String($base64EncodedResponse)&lt;/P&gt;&lt;P&gt;$decodedResponse = [System.Text.Encoding]::UTF8.GetString($base64DecodedBytes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the decoded response&lt;/P&gt;&lt;P&gt;Write-Output "decodedResponse: $decodedResponse"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# URI for the CyberArk get user rest endpoint&lt;/P&gt;&lt;P&gt;$getUserAPI = "&lt;A alt="https://$pvwa/PasswordVault/API/Users/" href="https://$pvwa/PasswordVault/API/Users/" target="_blank"&gt;https://$pvwa/PasswordVault/API/Users/&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Add bearer token to headers&lt;/P&gt;&lt;P&gt;$headers = @{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"Authorization" = "Bearer $base64EncodedResponse"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Make the GET request to the CyberArk rest endpoint&lt;/P&gt;&lt;P&gt;#$response_getUserAPI = Invoke-WebRequest -Method Get -Uri $getUserAPI -Headers $headers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;$response_getUserAPI = Invoke-WebRequest -Method Get -Uri $getUserAPI -Headers $headers&lt;/P&gt;&lt;P&gt;} catch {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Write-Host ("Request failed with status code: {0}" -f $_.Exception.Response.StatusCode.value__)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Write-Host ("Status description: {0}" -f $_.Exception.Response.StatusDescription)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;# Print the response body which might contain more detailed error information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;$streamReader = New-Object System.IO.StreamReader $_.Exception.Response.GetResponseStream()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;$errorResponseBody = $streamReader.ReadToEnd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Write-Host ("Response body: {0}" -f $errorResponseBody)&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status code&lt;/P&gt;&lt;P&gt;Write-Output "Status Code: $($response_getUserAPI.StatusCode)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the status description&lt;/P&gt;&lt;P&gt;Write-Output "Status Description: $($response_getUserAPI.StatusDescription)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Print the CyberArk response content&lt;/P&gt;&lt;P&gt;Write-Output "Response Content: $($response_getUserAPI.Content)"&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 10:57:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333856#M30040</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-24T10:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333857#M30041</link>
      <description>&lt;P&gt;try &lt;/P&gt;&lt;CODE&gt;$headers = @{
&amp;nbsp;
  "Authorization" = $base64EncodedResponse
&amp;nbsp;
}&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 13:19:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333857#M30041</guid>
      <dc:creator>P.Maan845601</dc:creator>
      <dc:date>2023-07-24T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the '/PasswordVault/API/auth/LDAP/Logon/' CyberArk LDAP REST endpoint (on-premises PVWA)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333858#M30042</link>
      <description>&lt;P&gt;@Pete Maan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;That worked! &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for pointing me in the right direction. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 13:28:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/accessing-the-passwordvault-api-auth-ldap-logon-cyberark-ldap/m-p/1333858#M30042</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-07-24T13:28:33Z</dc:date>
    </item>
  </channel>
</rss>

