logoalt Hacker News

qnttylast Friday at 4:27 PM2 repliesview on HN

I use Pydantic Settings for this, would be nice to see a comparison to that. I do like the idea of keeping this in a configuration file.


Replies

domenkozarlast Friday at 4:34 PM

Two things:

- Secrets don't belong in config https://secretspec.dev/blog/secrets-dont-belong-in-config/

- You want to have flexibility of choosing between any secrets provider: https://secretspec.dev/blog/but-i-use-sops/

show 2 replies
triyambakamlast Friday at 4:32 PM

Yeah Pydantic Settings is pretty nice