package
0.11.6
Repository: https://github.com/akfork/vault.git
Documentation: pkg.go.dev

# Functions

DefaultConfig returns a default configuration for the client.
LoadSSHHelperConfig loads ssh-helper's configuration from the file and populates the corresponding in-memory structure.
NewClient returns a new client for the given configuration.
ParseSecret is used to parse a secret value from JSON from an io.Reader.
ParseSSHHelperConfig parses the given contents as a string for the SSHHelper configuration.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SSHHelperDefaultMountPoint is the default path at which SSH backend will be mounted in the Vault server.
VerifyEchoRequest is the echo request message sent as OTP by the helper.
VerifyEchoResponse is the echo response message sent as a response to OTP matching echo request.

# Variables

DefaultRenewerRenewBuffer is the default size of the buffer for renew messages on the channel.
The default function used if no other function is set, which honors the env var and wraps `sys/wrapping/wrap`.
The default TTL that will be used with `sys/wrapping/wrap`, can be changed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Auth is used to perform credential backend related operations.
No description provided by the author
No description provided by the author
No description provided by the author
Client is the client to the Vault API.
Config is used to configure the creation of the client.
No description provided by the author
No description provided by the author
DeregisterPluginInput is used as input to the DeregisterPlugin function.
No description provided by the author
No description provided by the author
ErrorResponse is the raw structure of errors when they're returned by the HTTP API.
No description provided by the author
GetPluginInput is used as input to the GetPlugin function.
GetPluginResponse is the response from the GetPlugin call.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListPluginsInput is used as input to the ListPlugins function.
ListPluginsResponse is the response from the ListPlugins call.
Logical is used to perform logical backend operations on Vault.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegisterPluginInput is used as input to the RegisterPlugin function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Renewer is a process for renewing a secret.
RenewerInput is used as input to the renew function.
RenewOutput is the metadata returned to the client (if it's listening) to renew messages.
Request is a raw request configuration structure used to initiate API requests to the Vault server.
Response is a raw response that wraps an HTTP response.
No description provided by the author
No description provided by the author
Secret is the structure returned for every secret within Vault.
SecretAuth is the structure containing auth information if we have it.
SecretWrapInfo contains wrapping information if we have it.
SSH is used to return a client to invoke operations on SSH backend.
SSHHelper is a structure representing a vault-ssh-helper which can talk to vault server in order to verify the OTP entered by the user.
SSHHelperConfig is a structure which represents the entries from the vault-ssh-helper's configuration file.
SSHVerifyResponse is a structure representing the fields in Vault server's response.
Sys is used to perform system-related operations on Vault.
TLSConfig contains the parameters needed to configure TLS on the HTTP client used to communicate with Vault.
TokenAuth is used to perform token backend operations on Vault.
TokenCreateRequest is the options structure for creating a token.

# Type aliases

WrappingLookupFunc is a function that, given an HTTP verb and a path, returns an optional string duration to be used for response wrapping (e.g.