Managed secret providers
Algolia
Connect Algolia to Alter Vault for secure API access
Overview
Section titled “Overview”Use Algolia credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | algolia |
| Category | Search |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to the Algolia Dashboard
Log in to the Algolia Dashboard at dashboard.algolia.com.
Go to Settings → API Keys
Go to Settings → API Keys at dashboard.algolia.com/account/api-keys/all.
Copy the Admin API Key
Copy the Admin API Key (or create a new one with specific permissions).
Copy the Application ID
Copy the Application ID for the Application ID field.
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 Algolia
Go to Managed Secrets > Add Provider > Algolia.
Enter credentials
Paste your Admin API Key and Application ID into their respective fields.
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_APP_ID-dsn.algolia.net/1/indexes/YOUR_INDEX/query", grant_id="YOUR_GRANT_ID",)