Andy Smith Follow me

SecretSpec

https://secretspec.dev

SCR-20260904-rnrc

A tool from cachix that I'm slowly moving all my projects over to.

It lets you declare your secrets without keeping them in the repo.

So it's kind of a replacement for .env.example and .env at the same time.

You can describe pretty flexibly which environment secrets an app needs (including overlap, like one of two options: DATABASE_URI, or the values passed separately).

And you can store the actual values wherever you want. It supports 30+ providers for that. Locally that might be 1Password or the system keychain, and in production HashiCorp Vault or Google Secrets.

It's integrated into devenv.

I was hoping it was integrated into NixOS too, so I could use it for deployment instead of sops-nix, but that's not possible yet. I'm sure they'll get there in time and you'll be able to describe secrets for servers the same way you do for apps.