- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-14-2019 04:30 AM
I downloaded the Postman collection for CyberArk REST API from - https://documenter.getpostman.com/view/998920/RzZ9Gz1U?bs=true&version=latest#97bada25-0588-4660-9fc...
I have the AIMWebService setup in IIS on my PVWA servers with Windows Authentication disabled and Anonymous Authentication enabled.
I have setup the App ID with my machine in the Allowed Machines list and granted the AppID permissions on the safe.
I'm running the following CCP GetPassword GET request in Postman on my machine.
https://{{BaseURL}}/AIMWebService/api/Accounts?AppID={{AppID}}&Safe={{Safe}}&Folder={{Folder}}&Object={{ObjectName}}
All the variables are configured as environment variables, authorization type is "Inherit auth from parent", passing the Content-Type header with value "application/x-www-form-urlencoded".
When I run this, I'm getting an "Access is Denied" message while the status shows 200 OK.
My machine does not have AIM agent installed. Does it need to be installed for running this? Please advise further on what could be causing this issue.
I have the vault and PVWA running v10.10.
Thanks,
Ashwin
10-17-2019 07:56 AM
This issue was due to redirection being applied on the Default Web site and AIMWebService site in IIS. Once the redirection was removed, I was able to retrieve the credentials.
Thanks.
10-16-2019 01:03 AM
what do you get when you run the query in browser or powershell using Invoke-RestMethod?
10-16-2019 01:03 AM
what do you get when you run the query in browser or powershell using Invoke-RestMethod?
10-16-2019 02:17 AM
Running this in browser gives me the login page and I get a blank (empty) response in PowerShell.
10-17-2019 07:56 AM
This issue was due to redirection being applied on the Default Web site and AIMWebService site in IIS. Once the redirection was removed, I was able to retrieve the credentials.
Thanks.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

