libvault v0.2.3 Vault.Auth.Azure

Azure Auth Adapter.

Vault Docs

Link to this section Summary

Functions

Login with your Azure role and JWT. Defaults the auth path to azure

Link to this section Functions

Link to this function

login(vault, params)

Login with your Azure role and JWT. Defaults the auth path to azure

Examples

# Atom map
{:ok, token, ttl} = Vault.Auth.Azure.login(vault, %{role: "my-role", jwt: "my-jwt"})

# String map
{:ok, token, ttl} = Vault.Auth.Azure.login(vault, %{"role" => "my-role", "jwt" => "my-jwt"})