[Security] enable secrets to be read from a file and not directly from an environment variable #201
happysalada
started this conversation in
Feedback & Feature Proposal
Replies: 3 comments 3 replies
|
Hello @happysalada! Thanks for your feature request, I move this to the right repo (cf this part in the README) 🙂 |
1 reply
|
Hello @happysalada 👋 Thanks for the feedback and the suggestion. I would love to hear more details about this! It is indeed more secure and avoids dumping the whole env vars in another process. Would having a configuration file to boot the instance also make sense? I try to see if this subject can be treated with a need that we already have which is to have a configuration file, I'm also thinking about the beginner who could have some difficulties with systemd or docker secrets. Thanks |
1 reply
|
Is docker file secret supported now? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As far as I know, there is one secret to supply to meilisearch and it's the
MEILI_MASTER_KEY. That environment variable is read directly. To fit security best practices, secrets should be read from a file. (More details below)Whether using docker secrets or systemd loadcredentials, tools managing service pass secrets via files (not an environment variables). some reasons are detailed here
I'm happy to go into more details onto why this might not be a good idea.
I understand that this might not make on the top of the priority list, but just something to keep in mind for when you have time.
let me know if this needs more information
All reactions