This method resets the password of the authenticated user access.
reset_password(user, password, using='default')
Parameter | Description |
---|---|
user | Username to reset password. |
password | New password for the username to create. |
using | Alias of the Milvus server to reset password in. |
No return.
from pymilvus import utility
utility.reset_password('user', 'new_password', using='default')
Password must have at least 6 characters and must not exceed 256 characters in length.