summaryrefslogtreecommitdiffstats
path: root/src/commands/acl-genpass.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/acl-genpass.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/commands/acl-genpass.json b/src/commands/acl-genpass.json
new file mode 100644
index 0000000..9de0313
--- /dev/null
+++ b/src/commands/acl-genpass.json
@@ -0,0 +1,24 @@
+{
+ "GENPASS": {
+ "summary": "Generate a pseudorandom secure password to use for ACL users",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "6.0.0",
+ "arity": -2,
+ "container": "ACL",
+ "function": "aclCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "arguments": [
+ {
+ "name": "bits",
+ "type": "integer",
+ "optional": true
+ }
+ ]
+ }
+}