Documentation
¶
Index ¶
- func Cleanup()
- type Config
- func (c *Config) Apply(use string) error
- func (c *Config) CACerts() []string
- func (c *Config) Find(alias string) (*Vault, bool, error)
- func (c *Config) HasStrongbox() bool
- func (c *Config) Namespace() string
- func (c *Config) SetCurrent(alias string, reskip bool) error
- func (c *Config) SetTarget(alias string, config Vault) error
- func (c *Config) SetToken(token string) error
- func (c *Config) URL() string
- func (c *Config) Vault(which string) (*Vault, error)
- func (c *Config) Verified() bool
- func (c *Config) Write() error
- type Options
- type Vault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Version int `yaml:"version"`
Current string `yaml:"current"`
Vaults map[string]*Vault `yaml:"vaults"`
Options Options `yaml:"options"`
}
func (*Config) HasStrongbox ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.