Date: Wed, 18 May 2022 01:26:56 -0700 From: "Pat Maddox" <pat@patmaddox.com> To: freebsd-ports@freebsd.org Subject: Where to store configurable secrets? In group-readable etc/app.conf ? Message-ID: <F282CE37-1C12-4CF4-A76E-62369CF21F87@patmaddox.com>
next in thread | raw e-mail | index | archive | help
I am working on an app that reads database credentials from DATABASE_URL env var. I've got an rc script that starts it up fine. I want to double-check how I should be configuring it: I have put it in /usr/local/etc/myapp.conf chmod 770. Is that right, or is there some other mechanism for setting secret env vars for rc scripts? Pat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F282CE37-1C12-4CF4-A76E-62369CF21F87>