View Source Vault.Auth.LDAP (libvault v0.2.4)
LDAP Auth Adapter
Link to this section Summary
Functions
Login with your LDAP username and password. Defaults the auth path to ldap
Link to this section Functions
Login with your LDAP username and password. Defaults the auth path to ldap
examples
Examples
# Atom map
{:ok, token, ttl} = Vault.Auth.LDAP.login(%{ username: "username", password: "password" })
# String map
{:ok, token, ttl} = Vault.Auth.LDAP.login(%{ "username" => "username", "password" => "password" })