Referencesince 1.0.0-alpha.3
penv pull
Write a plain .env from the cloud
Write a plain .env from the cloud.
Usage
penv pull [--env <env>] [--i-am-human]Every command also takes the global options.
Flags
| Flag | What it does | Environment variable |
|---|---|---|
--env <env> | The environment to read. | PENV_ENV |
--i-am-human | Confirm a person, not an agent, asked for the file. Human only: an agent session cannot pass it. |
Exit codes
| Code | Name | What it means |
|---|---|---|
0 | ok | The command did what it says. |
1 | error | Something went wrong. |
2 | auth | Not signed in, or the credential was rejected. |
5 | no_credential | No credential is available and none can be obtained. |
6 | environment_refused | This identity may not read that environment. |
Under an agent
This command can write a secret value to stdout.
Related
penv push: Move local values to the cloud and delete .env.penv run: Validate, then run a command with the values in its environment only.- Local and cloud modes