Package vaultkv provides version agnostic methods for read, write and list of secrets from @hashicorp Vault's KV secret engines
- func FixPath(path, mount, prefix string) string
- type Client
This section is empty.
Client represents a KV client
New creates a new kv.Client with the Vault client c and a path p long enough to determine the mount path of the engine p = secret/ -> K/V engine mount path secret/ p = secret -> error p = /secret -> error
List secrets from a K/V version 1 or 2
Read a secret from a K/V version 1 or 2
SetToken sets the token directly. This won't perform any auth verification, it simply sets the token properly for future requests.