Managed secret providers
Weaviate
Connect Weaviate to Alter Vault for secure API access
Overview
Section titled “Overview”Use Weaviate credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | weaviate |
| Category | AI |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to the Weaviate Cloud Console
Log in to the Weaviate Cloud Console.
Open API keys
Open the cluster’s API Keys section.
Copy a key
Copy the admin or read-only API key.
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 Weaviate
Go to Managed Secrets > Add Provider > Weaviate.
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-CLUSTER.weaviate.cloud/v1/graphql", grant_id="YOUR_GRANT_ID", json={"query": "{ Get { Article(limit: 5) { title url } } }"},)