Managed secret providers
Typesense
Connect Typesense to Alter Vault for secure API access
Overview
Section titled “Overview”Use Typesense credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | typesense |
| Category | Search |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Typesense Cloud
Log in to Typesense Cloud and open the cluster.
Generate a key
Open API Keys and generate a key — use a scoped search-only key when the integration only reads.
Copy the key
Copy the key — it is only shown once.
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 Typesense
Go to Managed Secrets > Add Provider > Typesense.
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.GET, "https://YOUR-CLUSTER.a1.typesense.net/collections/products/documents/search", grant_id="YOUR_GRANT_ID", query_params={"q": "running shoes", "query_by": "name,description"},)- The key is injected via the
X-TYPESENSE-API-KEYheader.