API ISSUES | How to add an LDAP User to a Safe with Add_Safe_Member?

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

API ISSUES | How to add an LDAP User to a Safe with Add_Safe_Member?

L3 Networker

Hello all!

 

I have a quick one here hopefully; how can I add an external AD user (LDAP) to a Safe ACL using the API? I have read the documentation, and it is rather lacking. They simply say to "use the domain ID" by querying an particular endpoint. I have done this. I retrieved the domain ID and when I feed that as a string, I always get a 404 not found from the API endpoint.

 

How am I SUPPOSED to include this parameter into my query when adding a new safe member?

 

Thank you.

1 accepted solution

Accepted Solutions

L3 Networker

Found it on my own:

 

member_name: "PRINCIPAL NAME@UPN SUFFIX"

search_in: 'FULL HYPHENATED STRING OF DOMAIN ID'

 

The above syntax is correct for the Ansible collection cyberark.isp on Ansible Galaxy.

View solution in original post

1 REPLY 1

L3 Networker

Found it on my own:

 

member_name: "PRINCIPAL NAME@UPN SUFFIX"

search_in: 'FULL HYPHENATED STRING OF DOMAIN ID'

 

The above syntax is correct for the Ansible collection cyberark.isp on Ansible Galaxy.

  • 1 accepted solution
  • 75 Views
  • 1 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!