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.

IAM.ROLE.LIST

Last updated
IAM.ROLE.LIST
Group
IAM
Complexity
O(N) where N is the number of roles
Arity
1 (exactly, counting the command name)
Flags
admin, read-only, fast
HotKV Cloud
Not available
On-Premise
requires the enterprise-iam license feature

IAM.ROLE.LIST returns the name of every role, sorted. A new server has two: admin and readonly. See IAM.ROLE.INFO for what a role allows.

An array of bulk strings in RESP2 and RESP3, or the error NOLICENSE enterprise-iam requires a HotKV license. Contact sales@hotkv.com.

127.0.0.1:6379> IAM.ROLE.LIST
1) "admin"
2) "app"
3) "readonly"
4) "reporting"

HotKV-only command.

IAM.ROLE.INFO, IAM.ROLE.CREATE, Roles and single sign-on