Managed secret providers
Meilisearch
Connect Meilisearch to Alter Vault for secure API access
Overview
Section titled “Overview”Use Meilisearch credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | meilisearch |
| Category | Search |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”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).
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”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.
Using in Code
Section titled “Using in Code”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},)