Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

ACL CAT

Last updated
ACL CAT [category]
Group
ACL
Complexity
O(N) where N is the number of commands
Arity
-2 (at least 2 words, counting the command name)
HotKV Cloud
All plans
On-Premise
no license needed

Without an argument, ACL CAT lists the command categories you can use in ACL SETUSER rules such as +@read or -@dangerous. With a category, it lists the commands in it, in lower case, with subcommands written as command|subcommand. Category names are not case sensitive.

HotKV has these 25 categories: keyspace, read, write, set, sortedset, list, hash, string, bitmap, hyperloglog, geo, stream, pubsub, admin, fast, slow, blocking, dangerous, connection, transaction, scripting, bloom, cms, topk and timeseries.

Case RESP2 RESP3
No argument Array of bulk strings: the categories Array
A category Array of bulk strings: its commands Array
Unknown category Error ERR Unknown category '<category>' Same error
127.0.0.1:6379> ACL CAT
1) "keyspace"
2) "read"
3) "write"
4) "set"
5) "sortedset"
6) "list"
7) "hash"
8) "string"
9) "bitmap"
10) "hyperloglog"
11) "geo"
12) "stream"
13) "pubsub"
14) "admin"
15) "fast"
16) "slow"
17) "blocking"
18) "dangerous"
19) "connection"
20) "transaction"
21) "scripting"
22) "bloom"
23) "cms"
24) "topk"
25) "timeseries"
127.0.0.1:6379> ACL CAT transaction
1) "discard"
2) "exec"
3) "multi"
4) "unwatch"
5) "watch"
127.0.0.1:6379> ACL CAT nosuch
(error) ERR Unknown category 'nosuch'

The 21 categories of Redis 7 and Valkey 8, plus bloom, cms, topk and timeseries for HotKV’s own data types.

ACL SETUSER, ACL DRYRUN, Security: ACL