Skip to content

Changes user password(s) and/or access string

Description

Changes user password(s) and/or access string.

Usage

elasticache_modify_user(UserId, AccessString, AppendAccessString,
  Passwords, NoPasswordRequired, AuthenticationMode, Engine)

Arguments

  • UserId

    [required] The ID of the user.

  • AccessString

    Access permissions string used for this user.

  • AppendAccessString

    Adds additional user permissions to the access string.

  • Passwords

    The passwords belonging to the user. You are allowed up to two.

  • NoPasswordRequired

    Indicates no password is required for the user.

  • AuthenticationMode

    Specifies how to authenticate the user.

  • Engine

    Modifies the engine listed for a user. The options are valkey or redis.

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$modify_user(
  UserId = "string",
  AccessString = "string",
  AppendAccessString = "string",
  Passwords = list(
    "string"
  ),
  NoPasswordRequired = TRUE|FALSE,
  AuthenticationMode = list(
    Type = "password"|"no-password-required"|"iam",
    Passwords = list(
      "string"
    )
  ),
  Engine = "string"
)