View Source Vault.Auth.Azure (libvault v0.2.4)

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

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

examples

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"})