Managed secret providers
Milvus
Connect Milvus to Alter Vault for secure API access
Overview
Section titled “Overview”Use Milvus credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | milvus |
| Category | AI |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Zilliz Cloud
Log in to Zilliz Cloud (hosted Milvus).
Create an API key
Open API Keys and create a key for the organization or project.
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 Milvus
Go to Managed Secrets > Add Provider > Milvus.
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.cloud.zilliz.com/v2/vectordb/entities/search", grant_id="YOUR_GRANT_ID", json={ "collectionName": "my_collection", "data": [[0.05, 0.61, 0.76, 0.74]], "limit": 5, },)- Self-hosted Milvus accepts
username:passwordas the bearer value on the RESTful API.