rpk security role describe

Describe a Redpanda role.

This command describes a role, including the ACLs associated to the role, and lists members who are assigned the role.

Usage

rpk security role describe <role> [flags]

Aliases

rpk security role info

Examples

This section provides examples of how to use rpk security role describe.

Describe the role red (print members and ACLs).

rpk security role describe red

Print only the members of role red.

rpk security role describe red --print-members

Print only the ACL associated to the role red.

rpk security role describe red --print-permissions

Flags

Value Type Description

-a, --print-all

bool

Print all sections.

-m, --print-members

bool

Print the members section.

-p, --print-permissions

bool

Print the role permissions section.

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.