rpk security role list
List roles created in Redpanda.
Examples
This section provides examples of how to use rpk security role list.
List all roles in Redpanda.
rpk security role list
List all roles assigned to the user red.
rpk security role list --principal red
List all roles with the prefix agent-.
rpk security role list --prefix "agent-"
List all roles assigned to the group analytics.
rpk security role list --principal Group:analytics
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Return the roles matching the specified prefix. |
|
string |
Return the roles matching the specified principal; if no principal prefix is given, |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |