Skip to content

reset-password

Synopsis

The reset-password subcommand forcefully resets the login password for a specific user via the authentication provider.

bash
olares-cli user reset-password <username> [options]

Arguments

ArgumentDescriptionRequired
<username>Specifies the username of the account to reset.
It is typically the part before the @ symbol in an Olares ID.
For example, alice123 for [email protected].
Yes

Options

OptionShorthandUsageRequiredDefault
--help-hDisplays help information.NoN/A
--kubeconfigSpecifies the path to a kubeconfig file.NoN/A
--password-pSpecifies the new password for the user.YesN/A

Examples

bash
# Reset password for user named alice123
olares-cli user reset-password alice123 -p "NewSecurePassword456!"