News for hackers. Stuff that matters.
Re:From Dotenv to Dotenvx: Next Generation Config Management by mplanchard on Tuesday June 25, 2024 @12:06PM (#40790251)
Seems pretty similar to SOPS, but without the encrypted-by-default feature that makes SOPS feel significantly safer for secret management.
Re:From Dotenv to Dotenvx: Next Generation Config Management by pmccarren on Tuesday June 25, 2024 @03:34PM (#40792639)
I too have been using sops for years, and agree -- dotenvx encryption seems very similar to sops.

I'd prefer an integration between dotevnx and sops where dotevnx handles the UX of public env and injection, while leveraging sops for secret management and retrieval. Additionally, being able to have multiple keys for different actors is important.

Having a single `.env.keys` file feels risky and error prone. dotenvx encourages adding your various env files, such as `.env.production`, to vcs, and you're one simple mistake away from committing your keyfile and having a bad day.

If sops is not to be integrated, dotenvx could take some inspiration where the main key is encrypted in the secrets file itself, and you can define multiple age key recipients, each of which can then decrypt the main key.

Re:From Dotenv to Dotenvx: Next Generation Config Management by hadlock on Tuesday June 25, 2024 @04:05PM (#40792978)
I've been using sops in production since at least 2017, plus it has excellent compatibility with containerized infra tools like helm and other infra tools like terraform (both technically using plugins, but helm secrets and the carlpetts terraform plugin have been around for ages and are widely used.