EPM API while using SAML

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

EPM API while using SAML

L0 Member

Hello,

 

We locked down EPM to SAML auth only a while ago, and now we have a use-case for the API where we would need a non-interactive account to pull data from the API on a schedule.

 

Since SAML requires the Javascript redirect for authentication, it does not seem possible to use the API non-interactively with this setup.

 

Is there a way to get a SAML token for a non-interactive EPM API user?

 

Sincerely,

5 REPLIES 5

L4 Transporter

I wanted to share the below two enhancement requests that you might want to follow/upvote:

 

ER - API Key Integration - ServiceNow-Splunk-Microsoft Azure Sentinel (site.com)

ER - EPM should use API keys for REST API access instead of username and password (site.com)

 

The best resolution to your problem is the use of an API key, which almost all APIs use. But this hasn't been implemented on the EPM API yet. The more people that upvote (follow) those enhancement requests, though, the more attention it will get.

 

L4 Transporter

Hi @Daniel Millerson​ , Once the EPM console is set up with SAML integration, the login workflow should be directed towards your IdP. After you log on through your IdP's API, you can transfer the IdP token to EPM using the SAML authentication API - https://docs.cyberark.com/EPM/Latest/en/Content/WebServices/SAMLAuthentication.htm

 

Thanks,

Yossi

We have been working on this as well. There is no easy way to get the SAML token. We use Azure as IdP. We switched over to NPA's and are waiting for the API keys.

L4 Transporter

@John Gordijn? , see this post. It described a very easy way to extract the SAML token.

Hi,

thanks. I was already aware of this. I am not feeling comfortable with using an external repo in our production environment.

  • 5 Views
  • 5 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!