| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.9/site-packages/awscli/examples/memorydb/ |
Upload File : |
**To creat a user**
The following ``create-user`` example creates a new user. ::
aws memorydb create-user \
--user-name user-name-1 \
--access-string "~objects:* ~items:* ~public:*" \
--authentication-mode \
Passwords="enterapasswordhere",Type=password
Output::
{
"User": {
"Name": "user-name-1",
"Status": "active",
"AccessString": "off ~objects:* ~items:* ~public:* resetchannels -@all",
"ACLNames": [],
"MinimumEngineVersion": "6.2",
"Authentication": {
"Type": "password",
"PasswordCount": 1
},
"ARN": "arn:aws:memorydb:us-west-2:491658xxxxxx:user/user-name-1"
}
}
For more information, see `Authenticating users with Access Control Lists <https://docs.aws.amazon.com/memorydb/latest/devguide/clusters.acls.html>`__ in the *MemoryDB User Guide*.