vault

package module
v0.0.0-...-5157a32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 1 Imported by: 0

README

Go Vault Client

Go Report Card GoDoc

A strongly typed version of the official Vault API client.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicalClient

type LogicalClient interface {
	Read(path string) (*api.Secret, error)
	ReadWithData(path string, data map[string][]string) (*api.Secret, error)
	List(path string) (*api.Secret, error)
	Write(path string, data map[string]interface{}) (*api.Secret, error)
	Delete(path string) (*api.Secret, error)
	DeleteWithData(path string, data map[string][]string) (*api.Secret, error)
	Unwrap(wrappingToken string) (*api.Secret, error)
}

LogicalClient represents a vault/api.Logical client.

See https://github.com/hashicorp/vault/blob/master/api/logical.go#L41.

Directories

Path Synopsis
secrets
cubbyhole
Package cubbyhole provides an API client for the Vault Cubbyhole secrets engine.
Package cubbyhole provides an API client for the Vault Cubbyhole secrets engine.
kv
Package kv provides API clients for the Vault KV v1 and v2 secrets engines.
Package kv provides API clients for the Vault KV v1 and v2 secrets engines.
kv/v1
Package kv provides an API client for the Vault KVv1 secrets engine.
Package kv provides an API client for the Vault KVv1 secrets engine.
kv/v2
Package kv provides an API client for the Vault KVv2 secrets engine.
Package kv provides an API client for the Vault KVv2 secrets engine.
Package vaultmock is a generated GoMock package.
Package vaultmock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL