Skip to content
Docs

How to rotate the secrets of your Redis integration

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

When you change the Redis database password, the current credentials will be immediately invalidated and the instance will restart. 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 Redis database.

Copy link to headingPrerequisites

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

Copy link to headingSteps

Copy link to headingStep 1: Go to Redis from your 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 Redis button.

Copy link to headingStep 2: From Redis's dashboard, select the database you want to update.

The database view from the Redis dashboard, showing a single database in the list.The database view from the Redis dashboard, showing a single database in the list.
Redis database list

Copy link to headingStep 3: On dashboard for the database you want to update, select the Edit button in the upper right.

The page for a database on the Redis dashboardThe page for a database on the Redis dashboard
A Redis database

Copy link to headingStep 4: Scroll down to the Security section and enter a new password.

The security section for a Redis dashboard. The form is in Edit mode, allowing the password to be updated.The security section for a Redis dashboard. The form is in Edit mode, allowing the password to be updated.
Redis database security section

Copy link to headingStep 5: Select Save Database in the upper right to update the password.

Copy link to headingStep 6: Deploy your projects on Vercel

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