Key generation is not deterministic #421
Replies: 6 comments 27 replies
-
We have GitHub Actions that provision and deploy new Meilisearch instances behind load balancers. These instances have fresh installs if Meilisearch with the version of our choice. We want to be able to deploy these at will, bring them online once indexing is complete. Unfortunately this is no longer possible because the API key values are different for each new instance. API keys used to be computed from the master key, but now they are completely random. This is problematic for the reason above and it complicates our front-end deployment |
Beta Was this translation helpful? Give feedback.
-
I stumbled upon the same missing feature a month ago, while setup a somehow deterministic k8s cluster. I had a discussion with @gmourier on slack what's missing, and he requested me to sum up it here. IMO two simple changes should make key handling more easier in bigger setups:
Both changes could cause security issues used carelessly, but they are optional. So default setup remain unchanged. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 Some news on this subject! We evaluated different solutions, among them our constraint was to keep something simple enough to use that would work for both people who need determinism and those who don't. We also wanted to avoid as much as possible having two completely different ways of generating keys (i.e. to have keys hashed by the master key and another one completely independent) for the clarity and simplicity of the codebase. Generating the value of
Here is the solution that seems to check all the boxes: Introduce a unique customizable
|
Beta Was this translation helpful? Give feedback.
-
Just a quick follow-up to find out if this is on the near-term roadmap :) |
Beta Was this translation helpful? Give feedback.
-
Hello everyone here! You can use the Any feedback is more than welcome and would definitely help us improve our product 🙏 ❤️ |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 Just to say that we released version v0.28 today, feel free to give us your feedback! This discussion will be locked in the next few days. We encourage you to create a new discussion if needed! Thanks |
Beta Was this translation helpful? Give feedback.
-
Following this discussion: meilisearch/meilisearch#2261
(I still cannot transfer the discussion because of the GitHub bug...)
Is it possible @geoffatsource, can you detail what is your usecase? It would definitely help the product team 🙂
Beta Was this translation helpful? Give feedback.
All reactions