Secrets Don't Belong in Config
secretspec.dev
Secrets Don't Belong in Config
1–6 of 6 posts
Re: Secrets Don't Belong in Config
#2Re: Secrets Don't Belong in Config
#3Happy to be shown wrong though.
Re: Secrets Don't Belong in Config
#4Use a template-based configuration management system to pull in secrets from a secrets management system (passwords/credentials/PKI management). It's an antipattern to add even more complexity by bolting on configuration or secrets management as part of nix, systemd, or anything else that's OS- or distro-specific. Package managers, and OSes need to offer sane defaults but then have sensible boundaries and allow confi…
Re: Secrets Don't Belong in Config
#5Who other than nixOS has this problem? Feels like a nixOS thing to me, which I'm not going to complicate my applications for. All the orchestration tools have something like a vault, don't they? Happy to be shown wrong though.
what you are saying means you have a leaky chain of custody and are fine with that,
but you can show why i'm wrong.
Re: Secrets Don't Belong in Config
#6Use a template-based configuration management system to pull in secrets from a secrets management system (passwords/credentials/PKI management). It's an antipattern to add even more complexity by bolting on configuration or secrets management as part of nix, systemd, or anything else that's OS- or distro-specific. Package managers, and OSes need to offer sane defaults but then have sensible boundaries and allow confi…
How would that help if the result of the template is the same single config file that doesn't separate concerns?
If a file is static, then most configuration management systems allow dropping in such too without templates.
What specific question or concern do you have?