Introduce a wildcard *
pattern expression on the indexes
parameter when creating an API Key.
#491
Replies: 3 comments 7 replies
-
This is a feature I would like to support multi-tenancy. The idea being that each tenant is issued a key with access to the indexes for their unique tenant prefix. Without this, the indexes of each key need to updated as new indexes are added. |
Beta Was this translation helpful? Give feedback.
-
We really need this feature for our setup, as we mostly use Laravel with Scout, which creates indexes dynamically, and we don't know what indexes are needed up front when creating API keys for each project. |
Beta Was this translation helpful? Give feedback.
-
Hello, everyone following this discussion 👋 We have just released the first RC (release candidate) of Meilisearch containing this new implementation! docker run -it --rm -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:v1.1.0-rc.0 You are welcome to communicate any feedback about this new implementation in this discussion. If you encounter any bugs, please report them here. 🎉 Official and stable release containing this change will be available on 3rd April 2023 |
Beta Was this translation helpful? Give feedback.
-
It is not possible to specify access to all indexes that start with a specific string at API key creation.
The idea is to make it possible to write
"indexes": ["foo_*"]
so that the API key created can access all indexes starting withfoo
.It could make the creation of an API key easier and faster in case several indexes are prefixed by a fixed string and need to be accessible by the same key.
It would avoid having to specify
"indexes": ["foo_1", "foo_2", "foo_3", ...]
We would like to know why you have this need (aka why do you prefix indexes name?) 😇
Feel free to describe your workflow in detail. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions