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
Examples
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
--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