Using the Directory Connector with an Enterprise Team
The following example outlines how to configure the Directory Connector with an Enterprise Team, and is suitable for organizations that have an Enterprise or regular Team set up and would like to onboard members from AD/LDAP directories.
Open Bravura Safe.
Optional: Configure Single Sign-on for the desired IdP and enable the Require single sign-on authentication policy in Bravura Safe.
Obtain the client keys for the Enterprise Team:
As the Team owner, navigate to the Enterprise Team Settings > Team info page.
Click View API Key.
Enter your Master password.
Copy the client_id and client_secret.
Configure Directory Connector with the API keys and sync users/groups into the Enterprise Team:
Open the directory connect CLI.
Configure the server by running the following command:
bsafedc config server https://bravura_safe_instance_url.net
Log in with the Enterprise Team API keys copied earlier:
bsafedc login organization.xxx xxx
Configure the directory; for example, for an AD target run:
bsafedc config directory 0
Source Directory
Value
Active Directory/LDAP
0
Azure Active Directory
1
Google Workspace/GSuite
2
Okta
3
OneLogin
4
Configure the password for the directory; for example, for an AD target run:
bsafedc config ldap.password xxxxx
Edit the
data.json
file to populate other required fields; for example:"hostname": "Hostname of your AD server", "rootPath": "Root path to start all queries", "username": "Administrative user name", "organizationId": "Enterprise team ID", "users": true, "groups": true, "userPath": "Root Path to search for users", "groupPath": "Root Path to search for groups",
Run the
test
command to query the users and groups from target directory before sync:bsafedc --pretty test
Run the
sync
command:bsafedc sync
Finish the onboarding process:
Users receive an email invitation to join the Enterprise Team.
Users click the link in the email to create an account (if they do not have an account) and accept the invitation to join the Enterprise Team.
The Team owner confirms the users' membership.