Is it possible to authenticate to RestAPI using AD account which has SSO enabled via Okta?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to authenticate to RestAPI using AD account which has SSO enabled via Okta?

L1 Bithead

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.

4 REPLIES 4

L5 Sessionator

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

L2 Linker

@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:

 

This is related to ISPSS Service Account, I'm talking about an Active Directory Service Account.

L4 Transporter

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

  • 53 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!