logoalt Hacker News

berkesyesterday at 1:17 PM1 replyview on HN

Has done "wat" for years?

I use sops for encrypting yaml files. But how does it replace .env or other ENV var setters/holders?


Replies

chrismaticyesterday at 1:48 PM

Sops can natively handle .env files. All you need to apply them to your process is a small wrapper script that sources the decrypted file before invoking your command.

show 2 replies