ACL-LIST(3valkey)

๐Ÿ“ฆ
version 9.0.6 ยท 2 versions
, in fedora 44

๐Ÿ’… ACL-LIST โ€” the "show me everyone's receipts" command

okay bestie, welcome to the Valkey Command Manual entry for ACL LIST, a.k.a. the moment the server spills the tea on every single user it's currently tracking. โœจ


๐ŸŒธ NAME ๐ŸŒธ

acl-list โ€” dumps the effective rules in ACL file format. that's it, that's the whole job, and it does it flawlessly. ๐Ÿ‘‘


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

ACL LIST

no args, no flags, no notes. she's low-maintenance and highkey iconic. ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so here's the vibe: this command shows you the currently active ACL rules living inside your Valkey server. ๐Ÿซถ

every single line in the returned array = a different user. and the format? it's the exact same format used in the valkey.conf file or the external ACL file. which means โ€” and this is the slay part โ€” you can literally cut and paste whatever ACL LIST hands you straight into a config file if you want. no conversion, no drama, no nothing. ๐Ÿ’–

โš ๏ธ but bestie, be careful: make sure to check valkey-acl-save(7) / ACL SAVE before you go pasting things around. do not skip that step, i'm begging. ๐Ÿ™ˆ

๐Ÿ“ฌ REPLY ๐Ÿ“ฌ

valkey-protocol(7) Array reply: an array of valkey-protocol(7) Bulk string reply elements. so basically: a list, and inside that list, strings. simple. gorgeous. โญ


๐Ÿ”ฅ COMPLEXITY ๐Ÿ”ฅ

O(N). where N is the number of configured users. more users = more lines = more time. math is math. ๐Ÿงฎโœจ


๐Ÿ‘‘ ACL CATEGORIES ๐Ÿ‘‘

@admin @dangerous @slow

(the trifecta of "yes this touches real stuff, yes it might be slow, yes it needs permission." main character energy honestly. ๐Ÿ’€)


๐ŸŒˆ HISTORY ๐ŸŒˆ

  • available since 6.0.0 โ€” a certified classic at this point, fr fr. ๐ŸŽ€

๐Ÿ“ EXAMPLES ๐Ÿ“

watch her work:

127.0.0.1:6379> ACL LIST
1) "user antirez on #9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 ~objects:* &* +@all -@admin -@dangerous"
2) "user default on nopass ~* &* +@all"

look at that formatting. every rule, right there, readable, copy-pasteable, gorgeous. the ~objects:* and &* and +@all -@admin -@dangerous of it all?? ate and left no crumbs. ๐Ÿ’…โœจ


๐Ÿ‘ฏ SEE ALSO ๐Ÿ‘ฏ

the whole friend group, because nobody does it alone:


and that's the whole page, bestie!! ๐ŸŽ€ go forth and ACL LIST responsibly. mwah. ๐Ÿ’–

this was <strong>Valkey 9.0.0</strong>, dated <strong>2025-10-21</strong>, from the ACL-LIST(3valkey) manual page โ€” tysm for reading, ily, bye!! โœจ๐Ÿฆ‹๐Ÿ’œ

๐Ÿ“ฆ where this page comes from