libvault v0.1.1 API Reference

Modules

The main module for configuring and interacting with HashiCorp’s Vault

Adapter interface for authenticating with vault

Approle Auth Adapter

Azure Auth Adapter

A Generic Auth Adapter. An alternative to writing your own adapter

Github Auth Adapter

Google Cloud Auth Adapter

JWT Auth Adapter

Kubernetes Auth Adapter

LDAP Auth Adapter

Token Auth Adapter. Checks a provided token for validity, and saves if valid. Useful for local dev, or writing a CLI that uses the .vault-token file in the home directory

Userpass Auth Adapter

Adapter specificication for Vault Secret Engines

A generic Vault.Engine adapter. Most of the vault secret engines don’t use a wildly different API, and can be handled with a single adapter

Get and Put secrets using the v1 KV Secrets engine

Get and put secrets using the v2 KV (versioned) secrets engine

Module that ultimately creates, formats, and parses all http requests and responses for each vault API call

Adapter interface for making Vault HTTP

Tesla HTTP Adapter for Vault.Http calls

The adapter interface for encoding, and decoding json or vault requests