Documentation
¶
Overview ¶
Package vault provides a simple interface to the Vault API, allowing the secrets retrieval for running integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // DSV SPECIFIC ENV VARIABLES. DomainEnv string `env:"DSV_DOMAIN,notEmpty"` // DomainEnv is the tenant domain name (e.g. example.secretsvaultcloud.com). ClientIDEnv string `env:"DSV_CLIENT_ID,notEmpty"` // ClientIDEnv for client based authentication. TenantIDEnv string `env:"DSV_TENANT_ID,notEmpty"` // TenantIDEnv is the DSV Tenant name. This is just the `example` of `example.secretsvaultcloud.com`. TLDEnv string `env:"DSV_TLD" envDefault:"com"` // TLDEnv is the DSV top level domain. Default of `com`. ClientSecretEnv string `json:"-" env:"DSV_CLIENT_SECRET,notEmpty"` // ClientSecretEnv is the client secret token for authentication. }
func ParseDSVConfig ¶
Click to show internal directories.
Click to hide internal directories.