Remix.run Logo
berkes 2 hours ago

Has done "wat" for years?

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

chrismatic an hour ago | parent [-]

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.

44 minutes ago | parent | next [-]
[deleted]
berkes an hour ago | parent | prev [-]

FWIW, I looked into it myself too, and found e.g. this direnv setup:

https://github.com/direnv/direnv/wiki/Sops