【问题标题】:How to use Redis 6 ACL feature in node.js如何在 node.js 中使用 Redis 6 ACL 功能
【发布时间】:2020-09-14 20:24:38
【问题描述】:

我在 node.js 中使用“node_redis”npm 模块创建了一个 Redis 客户端,该模块是该节点的流行 Redis 客户端,但该模块不支持 ACL(访问控制列表)等最新的 Redis 功能。是否有任何其他库支持 Redis 6 的所有功能?如果没有,那么如何在节点应用程序中使用 Redis ACL 功能

【问题讨论】:

    标签: node.js redis acl


    【解决方案1】:
    client['auth'] = null;
    client.send_command('AUTH', ['<username>', '<password>'], redis.print);
    

    在这里看到:Connecting to managed redis with auth username/password nodejs

    【讨论】:

      猜你喜欢
      • 2021-01-21
      • 1970-01-01
      • 1970-01-01
      • 2018-11-15
      • 2020-09-11
      • 2016-02-20
      • 2022-04-29
      相关资源
      最近更新 更多