ACL-WHOAMI(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

✨ NAME ✨

acl-whoami β€” bestie, it just tells you the authenticated username of the current connection. That's it. That's the whole job. πŸ’…

This one lives in the valkey manual, section 3valkey, iykyk.


🌸 SYNOPSIS 🌸

ACL WHOAMI

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this command returns the username that the current connection is authenticated with. Simple. Iconic. No drama.

New connections show up already authenticated as the "default" user β€” that's just how they arrive, main character energy from birth honestly. And if you wanna switch it up? You can change users using valkey-auth(7) AUTH. Slay.


πŸ’Œ REPLY πŸ’Œ

Per valkey-protocol(7), you get a Bulk string reply: the username of the current connection. That's your answer, no cap. ✨


πŸŽ€ COMPLEXITY πŸŽ€

O(1) β€” literally instant, it's giving effortless 🫢


πŸ‘‘ ACL CATEGORIES πŸ‘‘

@slow


🌈 HISTORY 🌈

  • Available since: 6.0.0

πŸ“ EXAMPLES πŸ“

127.0.0.1:6379> ACL WHOAMI
"default"

Look at her. Perfect. "default" πŸ’–


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page bestie!! πŸŽ€βœ¨ this one's from version 9.0.0, dated 2025-10-21 β€” go forth and know who you are πŸ’–πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from