Skip to content

envpkt exec

Run a pre-flight audit, inject secrets from fnox into the environment, then execute a subprocess command.

Terminal window
envpkt exec [options] -- <command...>
OptionDescriptionDefault
-c, --config <path>Path to envpkt.tomlAuto-detected
--profile <profile>fnox profile to use
--skip-auditSkip the pre-flight auditfalse
--no-checkSkip the pre-flight audit (alias)false
--warn-onlyWarn on critical audit but do not abortfalse
--strictAbort on any non-healthy secretfalse
Terminal window
# Audit then run
envpkt exec -- node server.js
# Skip the audit
envpkt exec --skip-audit -- npm start
# Strict mode: abort if any secret is not healthy
envpkt exec --strict -- ./deploy.sh
# Use a specific fnox profile
envpkt exec --profile staging -- node server.js
  1. Load envpkt.toml (resolve catalog if present)
  2. Run audit (unless --skip-audit)
  3. Check audit result against policy (--strict / --warn-only)
  4. Inject secrets from fnox into subprocess environment
  5. Execute the command

Requires fnox integration or sealed packets for secret injection.