CyberArk AAM-Testzertifikat-Authentifizierung
Eine REST API ist eine API, die den Designprinzipien des Architekturstils REST (Representational State Transfer) entspricht. REST APIs werden daher manchmal auch als RESTful APIs bezeichnet.
Eine bequeme Möglichkeit, CyberArks Rest API für AAM (Application Access Manager) zu testen, ist über Windows Powershell oder Powershell ISE.
#Change location into your personal certificate store.
Set-Location "Cert:\CurrentUser\My\"
#Store the certificate with the thumbprint <your certificate thumbprint> in a variable ($Cert).
$Cert = Get-ChildItem | Where-Object {$_.Thumbprint -eq "<your thumbprint>"}
#Then the Invoke-RestMethod -Method Get...
Invoke-RestMethod -Method Get -Uri "<your Cyberark PasswordVault>AIMWebService/api/Accounts" -Certificate $cert -Body @{AppID = "<Your APP ID>"; Safe = "<Your Safe>"; Object = "<Object name>"}Zuletzt aktualisiert
War das hilfreich?