This article explains the main usage differences between the two types of security keys in Meilisearch: master key and API keys.
/keys
endpoints.
Use the master key to create, update, and delete API keys. Do not use it for other operations.
Consult the basic security tutorial to learn more about correctly handling your master key.
/keys
route to create, configure, and delete API keys.
Use API keys for all API operations except API key management. This includes search, configuring index settings, managing indexes, and adding and updating documents.
In many cases, the default API keys are all you need to safely manage your Meilisearch project. Use the Default Search API key
for searching, and the Default Admin API Key
to configure index settings, add documents, and other operations.