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

# Packages

No description provided by the author
No description provided by the author

# Functions

LoadConfig reads the configuration from the given path.
No description provided by the author

# Constants

ConfigPathEnv is the environment variable that can be used to override where the Vault configuration is.
DefaultConfigPath is the default path to the configuration file.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AuditDisableCommand is a Command that mounts a new mount.
AuditEnableCommand is a Command that mounts a new mount.
AuditListCommand is a Command that lists the enabled audits.
AuthCommand is a Command that handles authentication.
AuthDisableCommand is a Command that enables a new endpoint.
AuthEnableCommand is a Command that enables a new endpoint.
Config is the CLI configuration for Vault that can be specified via a `$HOME/.vault` file which is HCL-formatted (therefore HCL or JSON).
DeleteCommand is a Command that puts data into the Vault.
InitCommand is a Command that initializes a new Vault server.
KeyStatusCommand is a Command that provides information about the key status.
Meta contains the meta-options and functionality that nearly every Vault command inherits.
MountCommand is a Command that mounts a new mount.
MountsCommand is a Command that lists the mounts.
MountTuneCommand is a Command that remounts a mounted secret backend to a new endpoint.
PathHelpCommand is a Command that lists the mounts.
PolicyDeleteCommand is a Command that enables a new endpoint.
PolicyListCommand is a Command that enables a new endpoint.
PolicyWriteCommand is a Command that enables a new endpoint.
ReadCommand is a Command that reads data from the Vault.
RekeyCommand is a Command that rekeys the vault.
RemountCommand is a Command that remounts a mounted secret backend to a new endpoint.
RenewCommand is a Command that mounts a new mount.
RevokeCommand is a Command that mounts a new mount.
RotateCommand is a Command that rotates the encryption key being used.
SealCommand is a Command that seals the vault.
ServerCommand is a Command that starts the Vault server.
SSHCommand is a Command that establishes a SSH connection with target by generating a dynamic key.
Structure to hold the fields returned when asked for a credential from SSHh backend.
StatusCommand is a Command that outputs the status of whether Vault is sealed or not as well as HA information.
TokenCreateCommand is a Command that mounts a new mount.
TokenRenewCommand is a Command that mounts a new mount.
TokenRevokeCommand is a Command that mounts a new mount.
UnmountCommand is a Command that mounts a new mount.
UnsealCommand is a Command that unseals the vault.
VersionCommand is a Command implementation prints the version.
WriteCommand is a Command that puts data into the Vault.

# Interfaces

AuthHandler is the interface that any auth handlers must implement to enable auth via the CLI.

# Type aliases

FlagSetFlags is an enum to define what flags are present in the default FlagSet returned by Meta.FlagSet.