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

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

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

examples

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