Docs
Referencesince 1.0.0-beta.3

penv scan

Find secret values committed to files

Find secret values committed to files.

Usage

penv scan [--staged] [--install-hook] [--env <env>] [paths...]

Every command also takes the global options.

Arguments

ArgumentRequiredWhat it is
[paths...]noFiles or folders to scan instead of what git would commit. Takes more than one.

Flags

FlagWhat it doesEnvironment variable
--stagedScan only what is staged for the next commit.
--install-hookWrite a git pre-commit hook that runs penv scan --staged.
--env <env>The environment whose values to look for.PENV_ENV

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.