Docs Self-Managed Reference rpk Commands rpk security rpk security role create This is documentation for Self-Managed v24.2. To view the latest available version of the docs, see v24.3. rpk security role create Create a role in Redpanda. After creating a role you may bind ACLs to the role using the --allow-role flag in the rpk security acl create command. Usage rpk security role create [ROLE] [flags] Flags Value Type Description -h, --help - Help for create. --config string Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings; -X help for detail or -X list for terser detail. --format string Output format. Possible values: json, yaml, text, wide, help. Default: text. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk security role assign rpk security role delete