默认用户

了解如何更改您的默认用户密码或使用默认用户密码关闭访问权限。

基于密码的身份验证是Redis的一个基本但重要的安全特性。当您创建一个Redis Cloud数据库时,您的数据库会被分配一个随机生成的密码,称为默认用户密码

此密码出现在数据库详细信息屏幕的配置选项卡的安全部分。

The Default user password appears in the Security section of the Configuration tab on the database details screen.

使用复制按钮将密码复制到剪贴板:

Use the Copy button to copy the default user password.

每当您使用Redis客户端连接到数据库时,都需要使用此密码。有关更多信息,请参阅连接到数据库

请参阅您的Redis客户端文档,了解如何在连接时提供密码。

更改密码

要更改数据库的默认用户密码:

  1. 从数据库的配置选项卡中,选择编辑数据库

    The Edit database button lets you change the database's default user password.
  2. 安全部分,在默认用户密码字段中输入新密码。数据库密码必须少于50个字符。

  3. 选择保存数据库以更新密码。

    Use the Save database button to save the new password.

关闭默认用户

在您设置基于角色的访问控制以限制谁可以访问您的数据库后,我们建议您关闭默认用户访问权限。

关闭数据库的默认用户:

  1. 从数据库的配置选项卡中,选择编辑数据库

    The Edit database button lets you change the database's default user password.
  2. 安全部分,选择默认用户开关将其关闭。

  3. 选择保存数据库

    Use the Save database button to save the new password.
RATE THIS PAGE
Back to top ↑