Penv Cloud
Start free
Docs
Referencesince 1.0.0

penv reveal

Show one value; an AI agent needs your approval first

Show one value; an AI agent needs your approval first.

Usage

penv reveal [--env <env>] [--approval <approval>] <key>

Every command also takes the global options.

Arguments

ArgumentRequiredWhat it is
<key>yesThe key to reveal.

Flags

FlagWhat it doesEnvironment variable
--env <env>The environment to read.PENV_ENV
--approval <approval>Print the value a person approved under this id.

Exit codes

CodeNameWhat it means
0okThe command did what it says.
1errorUnclassified failure. The message on stderr names the cause.
2authNot signed in, or we rejected the credential.
4confirmationA person has to confirm. The JSON carries the command to replay.
5no_credentialNo credential is available and none can be obtained.
6environment_refusedThis identity may not read that environment.

Under an agent

This command can write a secret value to stdout. Under an agent session a person approves it in the console before the value prints.