All Products
Search
Document Center

Data Management:Reset a Dify resource password

Last Updated:Jun 21, 2026

If you forget the password for a Dify resource, such as a database instance, you can reset it. This topic uses an ApsaraDB RDS for PostgreSQL instance as an example.

Step 1: Reset the database password

  1. In the ApsaraDB RDS console, go to the Instances page and click the ID of the target instance.

  2. In the navigation pane on the left, click Accounts.

  3. For the dify_user account, click Reset Password.

Step 2: Update the instance password in DMS

  1. Log in to DMS 5.0.

  2. Move the pointer over the 2023-01-28_15-57-17.png icon in the upper-left corner of the DMS console and choose All Features > Data Assets > Instances.

    Note

    If you use the DMS console in normal mode, choose Data Assets > Instances in the top navigation bar.

  3. On the Instances page, find the target instance and choose More > Edit in the Actions column.

  4. On the Edit Instance page, update the Database Password with the new password you set in Step 1.

  5. Click Save.

Step 3: Redeploy in Dify

  1. Go to your Dify workspace.

  2. In the navigation pane on the left, click the Resource Management image icon to open the Dify Resource Management page.

  3. Click Redeploy.