IAM.ROLE.LIST
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.
Return value
Section titled “Return value”An array of bulk strings in RESP2 and RESP3, or the error
NOLICENSE enterprise-iam requires a HotKV license. Contact sales@hotkv.com.
Examples
Section titled “Examples”127.0.0.1:6379> IAM.ROLE.LIST1) "admin"2) "app"3) "readonly"4) "reporting"Compatibility
Section titled “Compatibility”HotKV-only command.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.