Skip to content

Managed secret providers

Algolia

Connect Algolia to Alter Vault for secure API access

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

PropertyValue
Provider IDalgolia
CategorySearch
Credential TypeAPI Key

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.

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.

response = await alter_app.request(
HttpMethod.POST,
"https://YOUR_APP_ID-dsn.algolia.net/1/indexes/YOUR_INDEX/query",
grant_id="YOUR_GRANT_ID",
)