Docs Cloud Reference rpk Commands rpk security rpk security user rpk security user update rpk security user update Update SASL user credentials The default value for the --mechanism flag is SCRAM-SHA-256. Set the flag when using a different mechanism to avoid unexpected changes. Usage rpk security user update [USER] --new-password [PW] [flags] Flags Value Type Description -h, --help - Help for update. --mechanism string SASL mechanism to use for the user you are updating. Case insensitive. Acceptable values: scram-sha-256, scram-sha-512. (default scram-sha-256). --new-password string New user’s password. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --format string Output format. Possible values: json, yaml, text, wide, help. Default: text. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk security user delete rpk security user list