CmdID

CmdID / aws / aws memorydb

aws memorydb update-user

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

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update a user

The following update-user example modifies a user's access string.

aws memorydb update-user --user-name my-user --access-string "off ~objects:* ~items:* ~public:* resetchannels -@all"Identify
--user-nameThe name of the user
--access-stringAccess permissions string used for this user.
Its output
{
    "User": {
        "Name": "my-user",
        "Status": "modifying",
        "AccessString": "off ~objects:* ~items:* ~public:* resetchannels -@all",
        "ACLNames": [
            "myt-acl"
        ],
        "MinimumEngineVersion": "6.2",
        "Authentication": {
            "Type": "password",
            "PasswordCount": 2
        },
        "ARN": "arn:aws:memorydb:us-west-2:491658xxxxxx:user/my-user"
    }
}

For more information, see Authenticating users with Access Control Lists in the MemoryDB User Guide.

Options

3 in the AWS CLI reference
--access-stringAccess permissions string used for this user.
--authentication-modeDenotes the user's authentication properties, such as whether it requires a password to authenticate.
--user-nameThe name of the user