-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change of the API key resource #2369
Comments
Pinging @meilisearch/docs-team and @meilisearch/integration-team |
Pinging @meilisearch/cloud-team 😇 |
Pinging @mdubus for the mini-dashboard! 😇 |
Hello everyone here! @ManyTheFish I let you update the issue accordingly to this decision 😇 Guillaume wrote:
@meilisearch/docs-team WDYT? We indeed got multiple issues where the users use the master key in front-end. We cannot prevent 100% of the cases, but maybe could we do more? |
Also @meilisearch/integration-team, maybe the README could be changed to not use the master key in the getting started, see here |
@curquiza I think we can remove the item in the issue description :) |
Thank you @brunoocasali! I changed this |
Specificiation
keys
resources: API Guideline - Return list of API resources under aresults
array specifications#138 in thetext/0085-api-keys.md
file (moved Pagination of the/keys
ressources #2442)Changes
Refine keys API
key
value by specifying anuid
field at creation.uid
is a uuidv4. If omitted, Meilisearch generates it./get
of akey
only possible specifying theuid
(/GET - /keys/:uid
).name
field to give a human-readable name to ease API key retrieval in a list at the convenience of the user.The master key is only dedicated to API keys management, it can't be used for other endpoints. Making Meilisearch more secure by design and thus preventing users from introducing a security vulnerability.name
anddescription
fields.keys.get
,keys.create
,keys.update
andkeys.delete
./get
of akey
possible specifying the completekey
(?) (/GET - /keys/:uid_or_key
)Replace sha256 by a better hash functionsha256 is now wrapped in an HMAC algorithm.The text was updated successfully, but these errors were encountered: