Cloud

rpk profile edit

Edit an rpk profile.

This command opens your default editor to edit the specified profile, or the current profile if no profile is specified. If the profile does not exist, this command creates it and switches to it.

The editor will display all available configuration fields. Fields that are not currently set are shown as comments with documentation. To set a field, uncomment it and provide a value.

Usage

rpk profile edit [NAME] [flags]

Flags

Value Type Description

-h, --help

-

Help for edit.

--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.

--ignore-profile

-

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.