vault

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(thelmaConfig config.Config, creds credentials.Credentials) (*vaultapi.Client, error)

NewClient returns a new authenticated vault client

func NewVaultTokenStore

func NewVaultTokenStore() stores.Store

NewVaultTokenStore returns a token store that reads and writes values to the current user's ~/.vault-token file. (Note that token keys are ignored.)

func TokenProvider

func TokenProvider(thelmaConfig config.Config, creds credentials.Credentials) (credentials.TokenProvider, error)

TokenProvider returns a new credentials.TokenProvider that provides a Vault token

Types

This section is empty.

Jump to

Keyboard shortcuts

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