Documentation ¶
Overview ¶
Package vault contains the logic for using Vault as a remote config source
How to use auth methods with Vault Go client: https://groups.google.com/forum/#!msg/vault-tool/cS7J2KbAwZg/7pu6PYSRAAAJ
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // The Vault Address. Can also be provided by the standard Vault envvar // `VAULT_ADDR`. This option takes priority over the envvar if provided. VaultAddr string `yaml:"vaultAddr"` // The Vault token, can also be provided by it the standard Vault envvar // `VAULT_TOKEN`. This option takes priority over the envvar if provided. VaultToken string `yaml:"vaultToken" neverLog:"true"` // The polling interval for checking KV V2 secrets for a new version. This // can be any string value that can be parsed by // https://golang.org/pkg/time/#ParseDuration. KVV2PollInterval time.Duration `yaml:"kvV2PollInterval" default:"60s"` }
Config for the vault remote config
Click to show internal directories.
Click to hide internal directories.