package
0.4.1
Repository: https://github.com/freimer/vault.git
Documentation: pkg.go.dev

# Functions

DefaultConfig returns a default configuration for the client.
Loads the certificate from given path and creates a certificate pool from it.
Loads the certificates present in the given directory and creates a certificate pool from it.
LoadSSHAgentConfig loads agent'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.

# 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
Default path at which SSH backend will be mounted in Vault server.
Echo request message sent as OTP by the agent.
Echo response message sent as a response to OTP matching echo request.

# Structs

No description provided by the author
Auth is used to perform credential backend related operations.
No description provided by the author
Client is the client to the Vault API.
Config is used to configure the creation of the client.
ErrorResponse is the raw structure of errors when they're returned by the HTTP API.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
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
Secret is the structure returned for every secret within Vault.
SecretAuth is the structure containing auth information if we have it.
SSH is used to return a client to invoke operations on SSH backend.
SSHAgent is a structure representing an SSH agent which can talk to vault server in order to verify the OTP entered by the user.
SSHAgentConfig is a structure which represents the entries from the agent'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.
TokenAuth is used to perform token backend operations on Vault.
TokenCreateRequest is the options structure for creating a token.