- Usage:
-
ACL ROLES
- Complexity:
- O(N). Where N is the number of configured roles.
- Since:
- 9.2.0
- ACL Categories:
- @admin, @dangerous, @slow
The command shows a list of all the names of the currently configured roles in the Valkey ACL system.
Examples
127.0.0.1:6379> ACL ROLES
1) "ops"
2) "reader"
3) "writer"