Skip to main content

Function: stripSensitiveEnvVars()

stripSensitiveEnvVars(env): ProcessEnv

Returns a copy of the environment with sensitive keys removed. Use this when building the environment for child processes that do not need signing credentials, tokens, or passwords (e.g. package managers).

Parameters​

env​

ProcessEnv

Returns​

ProcessEnv