View Source Vault.Auth.Approle (libvault v0.2.4)
Approle Auth Adapter.
Link to this section Summary
Functions
login with a role id, and secret id. Defaults the auth path to approle
Link to this section Functions
login with a role id, and secret id. Defaults the auth path to approle
examples
Examples
# Atom Map
{:ok, token, ttl } = Vault.Auth.Approle.login(%{role_id: role_id, secret_id: secret_id})
# String map
{:ok, token, ttl } = Vault.Auth.Approle.login(%{"role_id" => role_id, "secret_id" => secret_id})