Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultConfigFile is the name of the default config file
DefaultConfigFile = "vault-config.yml"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { int // how many of these parts are needed to unseal Vault (secretThreshold <= secretShares) SecretThreshold int // if this root token is set, the dynamic generated will be invalidated and this created instead InitRootToken string // should the root token be stored in the keyStore StoreRootToken bool // should the KV backend be tested first to validate access rights PreFlightChecks bool }SecretShares
Config holds the configuration of the Vault initialization
type Vault ¶
type Vault interface { Init() error RaftInitialized() (bool, error) RaftJoin(leaderAddress string) error Sealed() (bool, error) Active() (bool, error) Unseal() error Leader() (bool, error) LeaderAddress() (string, error) Configure(config map[string]interface{}) error }
Vault is an interface that can be used to attempt to perform actions against a Vault server.
Click to show internal directories.
Click to hide internal directories.