Skip to content

Reference

Meilisearch

Connect Meilisearch to Alter Vault for secure API access

Use Meilisearch credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDmeilisearch
CategorySearch
Credential TypeAPI Key

Log in to Meilisearch Cloud

Log in to Meilisearch Cloud and open the project.

Open API keys

Open Settings > API keys.

Copy a key

Copy the Default Search API Key (read) or Default Admin API Key (read/write).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Meilisearch

Go to Managed Secrets > Add Provider > Meilisearch.

Enter credentials

Paste your API Key into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.POST,
"https://YOUR-PROJECT.meilisearch.io/indexes/movies/search",
grant_id="YOUR_GRANT_ID",
json={"q": "interstellar", "limit": 5},
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
list_indexesreadGET/indexes
get_indexreadGET/indexes/{indexUid}
create_indexwritePOST/indexes
update_indexwritePATCH/indexes/{indexUid}
delete_indexdeleteDELETE/indexes/{indexUid}
swap_indexeswritePOST/swap-indexes
get_documentsreadGET/indexes/{indexUid}/documents
get_documentreadGET/indexes/{indexUid}/documents/{documentId}
documents_by_query_postreadPOST/indexes/{indexUid}/documents/fetch
replace_documentswritePOST/indexes/{indexUid}/documents
update_documentswritePUT/indexes/{indexUid}/documents
edit_documents_by_functionwritePOST/indexes/{indexUid}/documents/edit
delete_documentdeleteDELETE/indexes/{indexUid}/documents/{documentId}
delete_documents_batchdeletePOST/indexes/{indexUid}/delete-batch
delete_documents_by_filterdeletePOST/indexes/{indexUid}/documents/delete
clear_all_documentsdeleteDELETE/indexes/{indexUid}/documents
search_with_postreadPOST/indexes/{indexUid}/search
search_with_url_queryreadGET/indexes/{indexUid}/search
multi_search_with_postreadPOST/multi-search
searchreadPOST/indexes/{indexUid}/facet-search
similar_postreadPOST/indexes/{indexUid}/similar
get_tasksreadGET/tasks
get_taskreadGET/tasks/{taskUid}
cancel_taskswritePOST/tasks/cancel
delete_tasksdeleteDELETE/tasks
list_api_keysreadGET/keys
get_api_keyreadGET/keys/{uidOrKey}
create_api_keyadminPOST/keys
patch_api_keyadminPATCH/keys/{uidOrKey}
delete_api_keyadmin, deleteDELETE/keys/{uidOrKey}
get_allreadGET/indexes/{indexUid}/settings
update_allwritePATCH/indexes/{indexUid}/settings
delete_allwriteDELETE/indexes/{indexUid}/settings

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.