News for hackers. Stuff that matters.
Re:The Twelve-Factor App (2011) by kortex on Thursday April 28, 2022 @11:58PM (#31201255)
I'm fond of the XDG path convention. Which basically boils down to putting configs in ~/.config/your_app/ and secrets in ~/.config/your_app/secrets.

If you use pydantic, it supports a secrets dir with a predefined path.

https://specifications.freedesktop.org/desktop-entry-spec/de...

There are no comments on this comment yet.