libvault v0.2.0 Vault.Auth.GoogleCloud

Google Cloud Auth Adapter.

Vault Docs

Link to this section Summary

Functions

Login with your Google Cloud role and JWT. Defaults the auth path to gcp

Link to this section Functions

Link to this function login(vault, params)

Login with your Google Cloud role and JWT. Defaults the auth path to gcp

Examples

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

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