pi-secure-env-collect

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

pi-secure-env-collect

Extension from the GSD-2 cli. https://github.com/gsd-build/gsd-2

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 | convex
  • keys: array of { key, hint?, required?, guidance? }
  • envFilePath: optional custom .env path
  • environment: development | preview | production for 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