Skip to content

Create User

elasticache_create_user R Documentation

For Redis OSS engine version 6

Description

For Redis OSS engine version 6.0 onwards: Creates a Redis OSS user. For more information, see Using Role Based Access Control (RBAC).

Usage

elasticache_create_user(UserId, UserName, Engine, Passwords,
  AccessString, NoPasswordRequired, Tags, AuthenticationMode)

Arguments

UserId

[required] The ID of the user.

UserName

[required] The username of the user.

Engine

[required] The current supported value is Redis.

Passwords

Passwords used for this user. You can create up to two passwords for each user.

AccessString

[required] Access permissions string used for this user.

NoPasswordRequired

Indicates a password is not required for this user.

Tags

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

AuthenticationMode

Specifies how to authenticate the user.

Value

A list with the following syntax:

list(
  UserId = "string",
  UserName = "string",
  Status = "string",
  Engine = "string",
  MinimumEngineVersion = "string",
  AccessString = "string",
  UserGroupIds = list(
    "string"
  ),
  Authentication = list(
    Type = "password"|"no-password"|"iam",
    PasswordCount = 123
  ),
  ARN = "string"
)

Request syntax

svc$create_user(
  UserId = "string",
  UserName = "string",
  Engine = "string",
  Passwords = list(
    "string"
  ),
  AccessString = "string",
  NoPasswordRequired = TRUE|FALSE,
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  AuthenticationMode = list(
    Type = "password"|"no-password-required"|"iam",
    Passwords = list(
      "string"
    )
  )
)