Skip to content

Redis 凭据(Redis credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

支持的身份验证方法(Supported authentication methods)#

  • 数据库连接

有关该服务的更多信息,请参考Redis开发者文档

🌐 Refer to Redis's developer documentation for more information about the service.

使用数据库连接(Using database connection)#

您需要在 Redis 服务器上拥有一个用户账户,并且:

🌐 You'll need a user account on a Redis server and:

  • 密码
  • 主机 名称
  • 端口
  • 数据库编号
  • SSL

配置此凭据:

🌐 To configure this credential:

  1. 请输入你的用户账户密码
  2. 输入 Redis 服务器的 主机 名称。默认值是 localhost
  3. 输入连接应使用的端口号。默认值是 6379
    • 这个数字应与运行 INFO 命令时显示的 tcp_port 相匹配。
  4. 输入 数据库编号。默认值是 0
  5. 如果连接需要使用 SSL,请打开 SSL 开关。如果此开关关闭,连接将仅使用 TCP。
  6. 如果启用 SSL,你可以选择 禁用 TLS 验证。切换此项以使用自签名证书。警告:这会使连接的安全性降低。

有关更多信息,请参阅 连接到 Redis | 通用客户端

🌐 Refer to Connecting to Redis | Generic client for more information.