pi-secure-env-collect
Secure env var collection tool for Pi with masked input and destination writers
Package details
Install pi-secure-env-collect from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-secure-env-collect- Package
pi-secure-env-collect- Version
0.1.1- Published
- Apr 21, 2026
- Downloads
- 246/mo · 4/wk
- Author
- tuan_son.dinh
- License
- MIT
- Types
- extension
- Size
- 23.4 KB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-secure-env-collect
Adds secure_env_collect tool to Pi.
Collects secrets through masked interactive UI, then writes them to:
.env- Vercel
- Convex
Tool output reports only key names and applied/skipped status. Secret values are not echoed in tool output.
Install
pi install npm:pi-secure-env-collect
Local:
pi install /absolute/path/to/packages/pi-secure-env-collect
Tool
secure_env_collect
Parameters
destination:dotenv|vercel|convexkeys: array of{ key, hint?, required?, guidance? }envFilePath: optional custom.envpathenvironment:development|preview|productionfor Vercel
Notes
- interactive UI required
- values are masked during entry
- collected values are hydrated into
process.env - Vercel/Convex application uses temp files to avoid putting raw secret values directly in shell command strings