...
- Create credential for each milvus instance and store encrypted password in etcd. Here we use package bcrypt for encrypting the password which implements Provos and Mazières's adaptive hashing algorithm.
- SDK client sends credential when connecting milvus service.
- Milvus proxy component intercepts the request and verify the credential.
- Credentials are cached locally on proxy component. When credentials changed, proxy will be notified and update the local cache.
Etcd model for credentials:
...