Important
Stay updated on React2Shell

How to reset the secret for your MongoDB Atlas integration

This will guide you how to update the password for a MongoDB Atlas databse.

1 min read
Last updated December 7, 2025

When you change the MongoDB password, the current one will immediately stop working. All projects that rely on the password will be unable to connect to the database until they are re-deployed.

Secret rotation is a security best practice that limits the exposure window if a credential is compromised. You might rotate secrets when:

  • A team member with access to credentials leaves
  • You suspect a credential has been exposed
  • Your security policy requires periodic rotation

These steps will guide you on updating the password for your MongoDB database.

  • You have a MongoDB Atlas database through a Native integration from Vercel Marketplace.
  • You have access to manage your account's resources, including your MongoDB Atlas integration.
  1. From your Vercel dashboard, go to the Integrations tab.
  2. Next to the integration, select the Manage button. Native integrations appear with a billable badge.
  3. On the Integrations page, select the Open in MongoDB Atlas button.
The MongoDB Atlas main dashboard. The left navigation is open and "Database & Network" under the Security section is highlighted.
MongoDB Atlas dashboard
The page showing the MongoDB database users, with edit button. There is a single user in the list.
MongoDB database users list
The top portion of the edit form for a MongoDB database user, including the Edit Password button.
MongoDB database user edit form
A section of the MongoDB database user edit form. "Edit Password" has been clicked, so a button is visible to autogenerate a secure password.
Autogenerate the MongoDB database password
  • Go back to your MongoDB Atlas integration on Vercel and confirm the new environment variables are available
  • Deploy any connected projects in Vercel

Was this helpful?

supported.
How to reset the secret for your MongoDB Atlas integration | Knowledge Base