Skip to content

Reference

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

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 path
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

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.