milvus-logo
LFAI
< Docs
  • Python

reset_password()

This method resets the password of the authenticated user access.

Invocation

reset_password(user, password, using='default')

Parameters

ParameterDescription
userUsername to reset password.
passwordNew password for the username to create.
usingAlias of the Milvus server to reset password in.

Return

No return.

Raises

Example

from pymilvus import utility
utility.reset_password('user', 'new_password', using='default')

Limitation

Password must have at least 6 characters and must not exceed 256 characters in length.

Feedback

Was this page helpful?