ACL SAVE

Syntax
ACL SAVE
Available since:
6.0.0
Time complexity:
O(N). Where N is the number of configured users.
ACL categories:
@admin, @slow, @dangerous,

When Redis is configured to use an ACL file (with the aclfile configuration option), this command will save the currently defined ACLs from the server memory to the ACL file.

Examples

> ACL SAVE
+OK

> ACL SAVE
-ERR There was an error trying to save the ACLs. Please check the server logs for more information

RESP2/RESP3 Reply

Simple string reply: OK. The command may fail with an error for several reasons: if the file cannot be written or if the server is not configured to use an external ACL file.
RATE THIS PAGE
Back to top ↑