Skip to content

Instantly share code, notes, and snippets.

@micahlee
Created November 28, 2018 19:04
Show Gist options
  • Save micahlee/1fb36d3302a8bb5d6ab247473810027b to your computer and use it in GitHub Desktop.
Save micahlee/1fb36d3302a8bb5d6ab247473810027b to your computer and use it in GitHub Desktop.
Configuring Conjur UI to use the LDAP Authenticator

When Conjur is configured with the LDAP authenticator, there are two environment variables that must be set on the appliance (Master and Followers) for the Conjur UI to use the LDAP authenticator:

The first is the CONJUR_AUTHENTICATORS variable which configures which defined authenticators are enabled to use, which may include the built-in default, 'authn'.

CONJUR_AUTHENTICATORS="authn-ldap/ldap-server,authn"

The second is the CONJUR_AUTHN_URL which configures the Conjur API in the UI to use the desired authenticator instead of the default. localhost in this case refers to the UI accessing the Conjur server within the same appliance. This followers the documentation described for the API here: https://www.conjur.org/api.html#authentication

CONJUR_AUTHN_URL="http://localhost/authn-ldap/ldap-server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment