libvault v0.1.0 Vault.Auth.JWT

JWT Auth Adapter.

Vault Docs

Link to this section Summary

Functions

Login with a JWT role and jwt token. Defaults the auth path to jwt

Link to this section Functions

Link to this function login(vault, params)

Login with a JWT role and jwt token. Defaults the auth path to jwt

Examples

{:ok, token, ttl} = Vault.Auth.JWT.login(vault, %{role: "dev-role", jwt: "my-jwt"})