package
2.1.0-beta20241114.3+incompatible
Repository: https://github.com/openbao/openbao.git
Documentation: pkg.go.dev
# Packages
Package agent implements a daemon mode of Vault designed to provide helper
features like auto-auth, caching, and templating.
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
# Functions
No description provided by the author
Config loads the configuration and returns it.
DefaultTokenHelper returns the token helper that is configured for Vault.
No description provided by the author
No description provided by the author
error codes: 1: user error, 2: internal computation error, 3: remote api call error.
LoadConfig reads the configuration from the given path.
MakeShutdownCh returns a channel that can be used for shutdown notifications for commands.
MakeSighupCh returns a channel that can be used for SIGHUP reloading.
MakeSigUSR2Ch returns a channel that can be used for SIGUSR2 goroutine logging.
NewFlagSet creates a new flag set.
NewFlagSets creates a new flag sets.
No description provided by the author
No description provided by the author
No description provided by the author
OutputSealStatus will print *api.SealStatusResponse in the CLI according to the format provided.
No description provided by the author
ParseConfig parses the given configuration as a string.
PredictClient returns the cached API client for the predictor.
PrintRaw prints a raw value to the terminal.
PrintRawField prints raw field from the secret.
RawField extracts the raw field from the given data and returns it as a string for printing purposes.
No description provided by the author
RunCustom allows passing in a base command template to pass to other commands.
No description provided by the author
# Constants
ConfigPathEnv is the environment variable that can be used to override where the OpenBao configuration is.
No description provided by the author
DefaultConfigPath is the default path to the configuration file.
EnvVaultCLINoColor is an env var that toggles colored UI output.
EnvVaultDetailed is to output detailed information (e.g., ListResponseWithInfo).
EnvVaultFormat is the output format.
EnvVaultLogFormat is used to specify the log format.
EnvVaultLogLevel is used to specify the log level applied to logging Supported log levels: Trace, Debug, Error, Warn, Info.
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
Default value to use.
# Variables
No description provided by the author
# Structs
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
No description provided by the author
BoolPtr is a bool which is aware if it has been set.
No description provided by the author
-- BoolVar and boolValue.
No description provided by the author
Config is the CLI configuration for OpenBao that can be specified via a `$HOME/.bao` file which is HCL-formatted (therefore HCL or JSON).
No description provided by the author
-- DurationVar and durationValue.
FlagSet is a grouped wrapper around a real flag set and a grouped flag set.
FlagSets is a group of flag sets.
-- Float64Var and float64Value.
No description provided by the author
-- Int64Var and int64Value.
-- IntVar and intValue.
An output formatter for json output of an object.
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
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
MFAMethodInfo contains the information about an MFA method.
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
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
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
PatchCommand is a Command that puts data into the 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
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
PolicyCommand is a Command that holds the audit commands.
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
An output formatter for raw output of the original request object.
No description provided by the author
No description provided by the author
This struct is responsible for capturing all the fields to be output by a vault status command, including fields that do not come from the status 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
No description provided by the author
No description provided by the author
Structure to hold the fields returned when asked for a credential from SSH secrets engine.
No description provided by the author
No description provided by the author
-- StringMapVar and stringMapValue.
-- StringSliceVar and stringSliceValue.
-- StringVar and stringValue.
An output formatter for table output of an object.
-- TimeVar and timeValue.
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
-- Uint64Var and uint64Value.
-- UintVar && uintValue.
UnwrapCommand is a Command that behaves like ReadCommand but specifically for unwrapping cubbyhole-wrapped secrets.
-- VarFlag.
No description provided by the author
VersionCommand is a Command implementation prints the version.
VersionHistoryCommand is a Command implementation prints the version.
WriteCommand is a Command that puts data into the Vault.
An output formatter for yaml output format of an object.
# Interfaces
FlagBool is an interface which boolean flags implement.
FlagExample is an interface which declares an example value.
FlagVisibility is an interface which declares whether a flag should be hidden from help and completions.
No description provided by the author
LoginHandler is the interface that any auth handlers must implement to enable auth via the CLI.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Identify the allowable formats, identified by the minimum precision accepted.