Penv Cloud
Start free
Docs
Referencesince 1.0.0

penv pull

Write a .env file from the cloud

Write a .env file from the cloud.

Usage

penv pull [--env <env>] [--i-am-human]

Every command also takes the global options.

Flags

FlagWhat it doesEnvironment variable
--env <env>The environment to read.PENV_ENV
--i-am-humanConfirm a person, not an agent, asked for the file. Human only: an agent session cannot pass it.

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.
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.

Under an agent

This command can write a secret value to stdout.