Discover Packages
github.com/immutability-io/vault
command
agent
config
package
Version:
v1.1.0-beta1
Opens a new window with list of versions in this module.
Published: Feb 20, 2019
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AutoAuth struct {
Method *Method `hcl:"-"`
Sinks []*Sink `hcl:"sinks"`
EnableReauthOnNewCredentials bool `hcl:"enable_reauth_on_new_credentials"`
}
type Cache struct {
UseAutoAuthToken bool `hcl:"use_auto_auth_token"`
Listeners []*Listener `hcl:"listeners"`
}
type Config struct {
AutoAuth *AutoAuth `hcl:"auto_auth"`
ExitAfterAuth bool `hcl:"exit_after_auth"`
PidFile string `hcl:"pid_file"`
Cache *Cache `hcl:"cache"`
}
Config is the configuration for the vault server.
LoadConfig loads the configuration at the given path, regardless if
its a file or directory.
type Listener struct {
Type string
Config map[string ]interface{}
}
type Method struct {
Type string
MountPath string `hcl:"mount_path"`
WrapTTLRaw interface{} `hcl:"wrap_ttl"`
WrapTTL time .Duration `hcl:"-"`
Config map[string ]interface{}
}
type Sink struct {
Type string
WrapTTLRaw interface{} `hcl:"wrap_ttl"`
WrapTTL time .Duration `hcl:"-"`
DHType string `hcl:"dh_type"`
DHPath string `hcl:"dh_path"`
AAD string `hcl:"aad"`
AADEnvVar string `hcl:"aad_env_var"`
Config map[string ]interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.