Secure Cloud Access API and CyberArk API issue. I keep getting the error `Human entities not allowed to use public api` when trying to use SCA APIs.

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

Secure Cloud Access API and CyberArk API issue. I keep getting the error `Human entities not allowed to use public api` when trying to use SCA APIs.

L0 Member

I am getting the bearer token using the <tenantid>.my.idaptive.app/oauth2/token/<appid> url. When I attempt to get policies url for SCA I receive the `Human entities not allowed to use public api` error. We are using a service account.

 

I have found this doc but the url in it does not work with the tenant id. Unable to https://docs.cyberark.com/sca/latest/en/content/automation/sca-api-authentication.htm

 

Are there any issues with using a legacy tenant and SCA when accessing the APIs?

 

Also, I am not a CyberArk admin. I am working with our CyberArk team to deploy SCA. They have opened a ticket with CyberArk and I am here to check if its something anyone else has ran into.

2 REPLIES 2

L6 Presenter

Can you confirm that there is a custom OAuth2 Server configured to serve the tokens? You can details on the setup at CyberArk Docs.

 

If so, check the scope of the tokens in the OAuth2 Server to ensure SCA APIs are authorized (scope of 'full' or 'sca').

 

Also confirm the permissions of the OAuth2 Server to an SCA API Role that grants access to public API (CS Admin, SCAApiFullAccess, etc.).

L4 Transporter

Hello @Jacob Day​ 

Have you received an answer to your question? If so, we kindly encourage you to share it with us.

Your insights could be valuable to other community members in the future.

 

Thank you, Liad.

  • 125 Views
  • 2 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!