ezgh caches users create <cache> <name> [--preset p] [--wait] [flags]Create a user. Its password is generated and written to a new Secret in the project, as you, so it also needs secrets.secrets.create and secrets.versions.create; ezgh prints the Secret, never the password. On Valkey, --preset is readWrite (the default) or readOnly; Memcached users have full access and take no preset. Names are 1-32 lowercase letters, digits, _ and -, starting with a letter; ezgh_ names are reserved.
Part of ezgh caches users.
Examples
ezgh caches users create wp-cache site-2 --preset readWrite --waitFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--preset |
string | Valkey only: readWrite or readOnly (default readWrite) | |
--wait |
boolean | wait until it’s available, and print it then | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.