---
title: Rotate a write key
description: "Replace a source's write key when it's lost or may have leaked."
---

Rotating gives a source a new [write key](https://omnibit.app/docs/cdp/get-started/key-concepts.md#write-key). The
current key stops working at once, so anything still sending with it is refused until it's updated.

## Before you start

You need the **Owner** or **Admin** role in your organization.

## Steps

1. In the [Omnibit console](https://console.omnibit.app), select **Connections** in the left menu,
   then select the source.

2. Select **Settings**.

3. Under **Rotate Write Key**, select **Rotate Write Key**.

4. Read the warning, then select **Rotate Write Key** again.

5. Copy the new key from **New Write Key**. For a server source, store it now: it can't be shown
   again.

6. Select **Done**.

Then update the key everywhere the source is installed.