preseal encrypts env vars before your host sees them, now one command via npx

DavidWells · x · 2026-11-14

Developer David Wells turned his "dumb-sounding but useful" trick into a CLI tool: encrypt your env vars before the hosting platform ever sees them, and hardcode the key in your code so plaintext secrets never pass through the provider. The new preseal tool compresses the whole flow into one command — npx preseal set STRIPESECRETKEY --to netlify. He linked both the explainer post and the source code.

Related event: preseal encrypts environment variables before deployment with one command(2 posts)→

Original post →

More from coding & agent

coding & agent channel →