# How to rotate the secrets of your Neon integration

**Author:** Marc Brakken

---

> When you reset the Neon database secret, the current one will immediately stop working. All projects that rely on the secret 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 Neon project.

## Prerequisites

- You have a Neon database through a Native integration from Vercel Marketplace.
  
- You have access to manage your account's resources, including your Neon integration.
  

### Step 1: Go to Neon from your integration

- From your Vercel dashboard, go to the **Integrations** tab.
  
- Next to the integration, select the **Manage** button. Native integrations appear with a `billable` badge.
  
- On the Integrations page, select the **Open in Neon** button.
  

From Neon's dashboard, select the project you want to update

### Step 2: On that project's dashboard, select the Connect button

### Step 3: In the connection modal, select the Reset password link

### Step 4: Select the Reset button to confirm the change

### Step 5: Deploy your projects on Vercel

- Go back to your Neon integration on Vercel and confirm the new API secret is present
  
- Deploy any connected projects in Vercel

---

[View full KB sitemap](/kb/sitemap.md)
