- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-04-2026 06:13 AM
I want to create some scripts in Privilege Cloud, my account is an AD account and we use Okta for SSO. I am not able to find a good way to create a restapi script using PowerShell to authenticate. We do have Cyberark Identity. Coming from an On-Prem environment previously so CyberArk Identity and Privilege Cloud is new to me.
05-04-2026 06:55 AM
Hi,
Have you tried this documentation? This should cover your requirements
https://api-docs.cyberark.com/create-api-token/docs/create-api-token
Hope it helps
05-04-2026 07:08 AM
@Henrique da costa Hi, Since you are on the Shared Services platform, the authentication flow for REST API has changed from the legacy On-Prem method. You now need to authenticate against CyberArk Identity first to receive a Bearer token.
I recommend checking out these resources to get your PowerShell scripts running:
05-04-2026 09:59 AM
This is related to ISPSS Service Account, I'm talking about an Active Directory Service Account.
05-07-2026 01:05 AM
Hi @Henrique da costa
Thank you for engaging with the community! Since several members have shared solutions to your question, could you please let us know if any of them have resolved your issue? If so, please consider marking the most helpful response as “Select as Best”- this helps others with similar questions find the right answer quickly.
If the question remains unresolved, I recommend reaching out to your Account Manager for further strategic guidance.
Thank you,
Shaked
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!

