Cloud

rpk profile current

Print the current profile name.

This is a tiny command that simply prints the current profile name, which may be useful in scripts, or a PS1, or to confirm what you have selected.

Usage

rpk profile current [flags]

Flags

Value Type Description

-n, --no-newline

bool

Do not print a newline after the profile name.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

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

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.