Values.CreateUserMessageSourceFor Valkey engine version 7.2 onwards and Redis OSS 6.0 to 7.1: Creates a user. For more information, see Using Role Based Access Control (RBAC).
type nonrec t = {userId : UserId.t;The ID of the user. This value is stored as a lowercase string.
*)userName : UserName.t;The username of the user.
*)engine : EngineType.t;The options are valkey or redis.
*)passwords : PasswordListInput.t option;Passwords used for this user. You can create up to two passwords for each user.
*)accessString : AccessString.t;Access permissions string used for this user.
*)noPasswordRequired : BooleanOptional.t option;Indicates a password is not required for this user.
*)authenticationMode : AuthenticationMode.t option;Specifies how to authenticate the user.
*)}val make :
?passwords:??? ->
?noPasswordRequired:??? ->
?tags:??? ->
?authenticationMode:??? ->
userId:UserId.t ->
userName:UserName.t ->
engine:EngineType.t ->
accessString:AccessString.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BooleanOptional.t
| `List of
[> `String of String_.t
| `Structure of (string * [> `String of String_.t ]) list ]
list
| `String of UserId.t
| `Structure of
(string
* [> `Enum of string | `List of [> `String of String_.t ] list ])
list ])
list ]