CyberArk AAM test certificate authentication

A REST API is an API that complies with the design principles of the REST, or Representational State Transfer, architectural style. REST APIs are therefore sometimes referred to as RESTful APIs.

A convenient way to test CyberArk's Rest API for AAM (Application Access Manager) is from Windows Powershell or Powershell ISE.

#Change location into your personal certificate store.
Set-Location "Cert:\CurrentUser\My\"

#Store the certificate with the thumbprint  in a variable ($Cert).
$Cert = Get-ChildItem | Where-Object {$_.Thumbprint -eq ""}

#then est the Invoke-RestMethod -Method Get...
Invoke-RestMethod -Method Get -Uri "AIMWebService/api/Accounts" -Certificate $cert -Body @{AppID = ""; Safe = ""; Object = ""}



      
        Devolutions Forum logo
        Give us Feedback