logoalt Hacker News

Onavotoday at 6:52 PM4 repliesview on HN

I wish mise has better secrets management or allows for split config e.g. a repo wide config that's to be shared and a personal config that can override whatever's necessary. It's difficult to commit mise.toml because the [env] section almost always contains sensitive variables.


Replies

coryplastektoday at 7:01 PM

mise looks in a number of places for configuration and recommends using a `mise.local.toml` file for local-only configurations:

https://mise.jdx.dev/configuration.html

the same author has a separate but related project called fnox which focuses on secrets management and integrates with mise:

https://fnox.jdx.dev/

rsyringtoday at 8:48 PM

I recommend mise for almost everything.

But we use 1Password for secrets and I have the need to mix and match environment profiles. So I built:

https://github.com/level12/env-config

Volundrtoday at 6:58 PM

Are you aware of fnox by the same author?

https://fnox.jdx.dev/

LeBittoday at 8:36 PM

Like someone said, there is fnox by the same author for secrets.

Whatever is truly local (not necessarily secrets ) should go in mise.local.toml and not be version controlled.

You also have MISE_ENV if you want to manage completely different environments.