Penv Cloud
Start free
Docs
Referencesince 1.0.0

penv run

Run a command with your secrets loaded into it

Run a command with your secrets loaded into it.

Usage

penv run [--env <env>] [--no-mask] [--no-preload] [--sealed] [command...]

Every command also takes the global options.

Arguments

ArgumentRequiredWhat it is
[command...]noThe command to run. Completed as an executable and its arguments. Takes more than one.

Flags

FlagWhat it doesEnvironment variable
--env <env>The environment to read.PENV_ENV
--no-maskShow secrets in the command's output instead of hiding them. Human only: an agent session cannot pass it.
--no-preloadDo not load penv's masking into the command's runtime (Node, Bun, Deno, Python). Human only: an agent session cannot pass it.
--sealedGive keys with @hosts to the command as placeholders; penv puts the values into requests to those hosts. Always on for an AI agent.

Exit codes

CodeNameWhat it means
0okThe command did what it says.
1errorUnclassified failure. The message on stderr names the cause.
3validationThe schema or the values did not pass.
5no_credentialNo credential is available and none can be obtained.
6environment_refusedThis identity may not read that environment.