Quick Start
-
Install envpkt
Terminal window npm install -g envpkt -
Discover credentials in your environment
envpkt scans your shell for known credential patterns — API keys, tokens, connection strings — and reports what it finds:
Terminal window envpkt env scanYou’ll see a table with each detected variable, its inferred service, and a confidence indicator.
-
Scaffold your envpkt.toml
Turn those discoveries into a config file:
Terminal window envpkt env scan --writeThis creates (or appends to)
envpkt.tomlwith[meta.*]sections for each discovered credential. -
Audit credential health
Check expiration dates, staleness, and missing metadata:
Terminal window envpkt auditExit codes:
0= healthy,1= degraded,2= critical. -
Check for drift
Detect mismatches between your config and live environment:
Terminal window envpkt env checkThis runs bidirectional drift detection — secrets in TOML but missing from env, and credential-shaped env vars not tracked in TOML.
Next Steps
Section titled “Next Steps”- The TOML File — understand every field in
envpkt.toml - CLI Reference — full documentation for all commands
- Catalog System — share secret metadata across agents