We are trying to use Cyberark to call stored credentials from the Cyberark vault. The way we implemented Cyberark, we do not support the native connection tools, so we must use the api. Our internal team that owns our Cyerberark deployment has given me the following script that works in Windows Powershell. How can I convert this to use with the download tool. The main issue I'm having is how can I pass the SSL certificate using Alteryx. The double and single quotes are part of the script, not added by me. I anonymized any confidential data like the folder path, appId, safe, and username.
$certPath = "D:\Folder\Folder\certname.pfx"
$cert = Get-PfxCertificate -FilePath $certPath
Invoke-RestMethod -Method Get -Uri 'https://APIBASEURL?AppID=ABCD&Safe=HIJK&UserName=JOHNSMITH' -Certificate $cert
Thanks for any help!
-Craig