Update a custom Valkey ACL user’s preset and patterns
1ctl valkey users update <service> <username>
| Argument |
Required |
Variadic |
service |
Yes |
No |
username |
Yes |
No |
| Flag |
Type |
Required |
Default |
Description |
--preset |
string |
No |
— |
Access preset: admin, read_write, or read_only |
--key-pattern |
array |
No |
— |
Replace allowed key globs; repeatable |
--channel-pattern |
array |
No |
— |
Replace allowed Pub/Sub channel globs; repeatable |
--clear-key-patterns |
boolean |
No |
false |
Restore the preset’s default key scope |
--clear-channel-patterns |
boolean |
No |
false |
Restore the preset’s default channel scope |
--help, -h |
boolean |
No |
— |
Show help |