For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test d'authentification par certificat CyberArk AAM

Une API REST est une API qui respecte les principes de conception du style architectural REST (Representational State Transfer). Les API REST sont donc parfois appelées API RESTful.

Une façon pratique de tester l'API REST de CyberArk pour AAM (Application Access Manager) est d'utiliser Windows Powershell ou 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>"}

Mis à jour

Ce contenu vous a-t-il été utile ?