rpk security role list
List roles created in Redpanda.
Examples
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 |
|---|---|---|
|
- |
Help for list. |
|
string |
Return the roles matching the specified prefix. |
|
string |
Return the roles matching the specified principal; if no principal prefix is given, |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Output format. Possible values: |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |