Skip to content

Redis 凭据#

¥Redis credentials

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

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

¥Redis Chat Memory

¥Redis Vector Store

支持的身份验证方法#

¥Supported authentication methods

  • 数据库连接

¥Database connection

相关资源#

¥Related resources

有关服务的更多信息,请参阅 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:

  • 密码:

¥A Password

  • 主机名

¥The Host name

  • 端口号

¥The Port number

  • 数据库编号:

¥A Database Number

  • SSL

配置此凭据:

¥To configure this credential:

  1. 输入你的用户账户密码。

¥Enter your user account Password. 2. 输入 Redis 服务器的主机名。默认值为 localhost

¥Enter the Host name of the Redis server. The default is localhost. 3. 输入连接应使用的端口号。默认值为 6379

¥Enter the Port number the connection should use. The default is 6379.

  • 此编号应与运行 INFO 命令时列出的 tcp_port 编号匹配。

    ¥This number should match the tcp_port listed when you run the INFO command. 4. 输入数据库编号。默认值为 0

¥Enter the Database Number. The default is 0. 5. 如果连接需要使用 SSL,请启用 SSL 开关。如果此开关关闭,则连接仅使用 TCP。

¥If the connection should use SSL, turn on the SSL toggle. If this toggle is off, the connection uses TCP only. 6. 如果你启用 SSL,你可以选择禁用 TLS 验证。切换此控件以使用自签名证书。WARNING:这降低了连接的安全性。

¥If you enable SSL, you have the option to disable TLS verification. Toggle to use self-signed certificates. WARNING: This makes the connection less secure.

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

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