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.