# DBaaS Valkey User Access Control

## Properties

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `categories` | array[string] | no | Use +@<category> to allow and -@<category> to disallow. Separate entries with a single space. Example: +@all -@dangerous. |
| `channels` | array[string] | no | Patterns use standard glob syntax and must be separated by a single space. Example: ~* &events. |
| `commands` | array[string] | no | Use +<command> to allow and -<command> to disallow. You can also use @<category>. Separate entries with a single space. Example: +@all -flushall. |
| `keys` | array[string] | no | Patterns use standard glob syntax and must be separated by a single space. Example: cache:* session:*. |

