# Functions
AuthConfigFromEnv reads config from the environment for authenticating to Vault.
CacheConfigFromEnv reads config from the environment for caching.
GetUserAgentBase returns a base user agent string with the given user agent name and version in the form: vault-client-go/0.0.1 (Darwin arm64; Go go1.19.2).
ParseConfiguredSecrets reads environment variables to determine which secrets to read from Vault, and where to write them on disk.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
When set to `true`, every request will be saved in the cache and returned from cache, making caching "opt-out" instead of "opt-in".
The time to live configuration (aka, TTL) of the cache used by proxy server.
Optional, one of TRACE, DEBUG, INFO, WARN, ERROR, OFF.
No description provided by the author
# Variables
ExtensionVersion should be a var type, so the go build tool can override and inject a custom version.
# Structs
AuthConfig holds config required for logging in to Vault.
CacheConfig holds config for the request cache.
ConfiguredSecret represents a pair of environment variables of the form:
VAULT_SECRET_PATH_FOO=/kv/data/foo VAULT_SECRET_FILE_FOO=/tmp/vault/secret/foo
Where FOO is the name, and must match across both env vars to form a valid secret configuration.