Terminal
Terminal/Skill
Creates and manages Milvus database users, roles, passwords, and privileges on a Dedicated cluster.
By Zilliz (Milvus)
Works with
npx skills add zilliztech/zilliz-plugin --skill user-rolezilliz user create --user <username> --password <password>
Create a new database user.
zilliz user list
List all database users.
zilliz user describe --user <username>
Get details of a user.
zilliz user drop --user <username-to-drop>
Drop a database user.
zilliz user update-password \
--user <username> \
--password <current-password> \
--new-password <new-password>
Update user password.
zilliz user grant-role --user <username> --role <role-name-to-grant>
Grant a role to a user.
zilliz user revoke-role --user <username> --role <role-name-to-revoke>
Revoke a role from a user.
zilliz role create --role <role-name>
Create a new role.
zilliz role list
List all roles.
zilliz role describe --role <role-name>
Get details and privileges of a role.
zilliz role drop --role <role-name-to-drop>
Drop a role.
zilliz role grant-privilege \
--role <role-name> \
--object-type <Global|Collection|Database> \
--object-name <object-name> \
--privilege <privilege-name>
# Optional: --database <database-name>
Grant a privilege to a role.
zilliz role revoke-privilege \
--role <role-name> \
--object-type <Global|Collection|Database> \
--object-name <object-name> \
--privilege <privilege-name>
# Optional: --database <database-name>
Revoke a privilege from a role.
Common privileges by object type:
Search, Query, Insert, Delete, CreateIndex, DropCollectionCreateCollection, AllListCollectionsadmin (full access), public (no privileges by default -- must be granted explicitly).* as object-name to grant privilege on all objects of that type.zilliz acl
(see the acl skill). Granting a Milvus role never grants cloud permissions,
and vice versa.