> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/integrations/builtin/credentials/milvus.md).

# Set up Milvus credentials in Duaer

Store Milvus connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.
## Connect to Milvus <a href="#connect-to-milvus" id="connect-to-milvus"></a>

The Duaer Milvus credential:

- Base URL is the Milvus address, http://localhost:19530 by default. When Duaer runs in Docker, localhost means the Duaer container itself, so use the Milvus service name.
- Without authentication on Milvus, leave Username and Password empty. With authentication, use a database user; the default admin is root.
- For Zilliz Cloud, put the cluster’s Public Endpoint in Base URL and a cluster user in Username and Password.

## Milvus fields in Duaer <a href="#milvus" id="milvus"></a>

In Duaer, choose Milvus when you create a credential, then fill in these fields:

- Base URL (required): Default: http://localhost:19530.
- Username
- Password (secret)

When you save, Duaer tests the connection with these values.

Duaer nodes that use it: [Milvus Vector Store](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.vectorstoremilvus.md).

## Save the connection in Duaer

Open Credentials and create Milvus. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys. 

## Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.
## Questions

### Do Milvus secret values appear in Duaer node parameters?

No. In Duaer, Milvus secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

### What usually stops a Milvus credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields Milvus expects, then confirm you can create credentials in that project.

