top | item 31201108 (no title) tdfx | 3 years ago > I’ve generally found it much better to mount these into the filesystem and read from there.Is there a standardized/best practice way to do this? Some convention for file names or format? discuss order hn newest kortex|3 years ago 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... hakre|3 years ago There is docker secrets and some specialized convention for example to share the ssh control socket during build time etc.
kortex|3 years ago 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...
hakre|3 years ago There is docker secrets and some specialized convention for example to share the ssh control socket during build time etc.
kortex|3 years ago
If you use pydantic, it supports a secrets dir with a predefined path.
https://specifications.freedesktop.org/desktop-entry-spec/de...
hakre|3 years ago