- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-05-2024 12:01 PM
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,
04-05-2024 12:07 PM
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.
04-07-2024 01:06 AM
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
04-07-2024 11:00 PM
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.
04-14-2024 02:01 AM
@John Gordijn? , see this post. It described a very easy way to extract the SAML token.
04-14-2024 11:31 PM
Hi,
thanks. I was already aware of this. I am not feeling comfortable with using an external repo in our production environment.
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!

