Skip to content

Integrations

Milvus

Connect Milvus to Alter Vault for secure API access

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

PropertyValue
Template IDmilvus
CategoryAI
Credential TypeAPI Key

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.

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 the API Key into the credential field.

Enter the deployment endpoint

Paste the Cluster public endpoint. Copy it from the Zilliz Cloud console’s cluster details. Alter derives this credential’s allowed hosts from that exact host, so proxied calls can only ever reach the deployment. The allowlist cannot be widened or edited separately; rotate the credential with a new endpoint to retarget it.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

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:password as the bearer value on the RESTful API.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider pathNotes
aliases/createwritePOST/v2/vectordb/aliases/create—
aliases/listreadPOST/v2/vectordb/aliases/list—
collections/createwritePOST/v2/vectordb/collections/create—
collections/describereadPOST/v2/vectordb/collections/describe—
collections/dropdeletePOST/v2/vectordb/collections/drop—
collections/get_load_statereadPOST/v2/vectordb/collections/get_load_state—
collections/get_statsreadPOST/v2/vectordb/collections/get_stats—
collections/hasreadPOST/v2/vectordb/collections/has—
collections/listreadPOST/v2/vectordb/collections/list—
collections/loadwritePOST/v2/vectordb/collections/load—
collections/releasewritePOST/v2/vectordb/collections/release—
collections/renamewritePOST/v2/vectordb/collections/rename—
databases/createwritePOST/v2/vectordb/databases/create—
databases/listreadPOST/v2/vectordb/databases/list—
entities/deletedeletePOST/v2/vectordb/entities/delete—
entities/getreadPOST/v2/vectordb/entities/get—
entities/hybrid_searchreadPOST/v2/vectordb/entities/hybrid_search—
entities/insertwritePOST/v2/vectordb/entities/insert—
entities/queryreadPOST/v2/vectordb/entities/query—
entities/searchreadPOST/v2/vectordb/entities/search—
entities/upsertwritePOST/v2/vectordb/entities/upsert—
indexes/createwritePOST/v2/vectordb/indexes/create—
indexes/describereadPOST/v2/vectordb/indexes/describe—
indexes/dropdeletePOST/v2/vectordb/indexes/drop—
indexes/listreadPOST/v2/vectordb/indexes/list—
partitions/createwritePOST/v2/vectordb/partitions/create—
partitions/dropdeletePOST/v2/vectordb/partitions/drop—
partitions/listreadPOST/v2/vectordb/partitions/list—
partitions/loadwritePOST/v2/vectordb/partitions/load—
partitions/releasewritePOST/v2/vectordb/partitions/release—
10/post:/v2/vectordb/users/update_passwordadminPOST/v2/vectordb/users/update_passwordrefused by default: leaves the caller holding a provider credential (a credential_minting rule can allow it); served by the provider but absent from its published spec

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.