Skip to content

v0.12.0 - "Need to Know"

Compare
Choose a tag to compare
@maartenberg maartenberg released this 15 Jan 11:59
· 115 commits to master since this release

Vaultenv now supports removing specific variables from the environment before
executing the wrapped command, allowing the user to selectively inherit the
parent environment (instead of completely or not at all).

This behaviour can be enabled by passing the --inherit-env-blacklist
option, setting the VAULTENV_INHERIT_ENV_BLACKLIST environment
variable, or setting the VAULTENV_INHERIT_ENV_BLACKLIST option in a
Vaultenv configuration file. The value of the option or variable should
be a list of names of environment variables to remove, separated by
commas.

Vaultenv will remove the variables from the environment of the command to
execute if the variable has a name that exactly matches a name in the
blacklist. Vaultenv will also remove variables retrieved from Vault if the name
of the variable matches a name on the blacklist.

The blacklist has no effect if --no-inherit-env is used, and the option will
be silently ignored.