meilisearch-php icon indicating copy to clipboard operation
meilisearch-php copied to clipboard

Update documentation to include SEARCH_API_KEY

Open tacman opened this issue 6 months ago • 0 comments

Description

All of the examples show searching using the master key, but best practice is to use a search key and only use the master key for managing API keys.

Only use the master key to manage API keys. Never use the master key to perform searches or other common operations.

https://www.meilisearch.com/docs/learn/security/basic_security

I just discovered that there's a default search key, so I'm modifying my code to use it.

tacman avatar Jun 07 '25 13:06 tacman