> For the complete documentation index, see [llms.txt](https://help.cerby.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cerby.com/cerby-web-app/accounts/protecting-your-accounts/regenerate-an-rsa-key-for-an-account.md).

# Regenerate an RSA key for an account

This article describes how to regenerate an RSA key for an account in your Cerby workspace.

{% hint style="info" %}
**Who can use this feature?**

* Workspace **Owners**, **Super Admins**, **Admins**, **Users**, and **Guest Users**
* Account **Owners**
* Only supported using the Cerby web app
  {% endhint %}

As an account **Owner** who has already generated an RSA key for your account with Cerby, you can regenerate the key. You may need to do this if the current key is compromised or if a system that depends on the key requires a new one.

{% hint style="danger" %}
**IMPORTANT:** Regenerating the RSA key permanently replaces the current key and passphrase. Any app or tool that uses the current RSA key will stop working. This action cannot be undone.
{% endhint %}

To regenerate an RSA key for an account, complete the following steps:

1. Log in to your [Cerby](https://app.cerby.com/) workspace.
2. Click the corresponding account card. The account details page is displayed.
3. Expand the **RSA key settings** section, further down the page.
4. Click the **Regenerate key** button. The **Regenerate RSA key** dialog box is displayed.
5. Enter a passphrase in the **Passphrase** field.
6. Click the **Regenerate key** button. Cerby generates an RSA keypair, and the **RSA key generated** dialog box is displayed with the following values:
   * **Public key (PEM)**
   * **Private key (encrypted PEM)**
   * **Passphrase**
7. Copy each value and store it in a secure location.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p><strong>TIP:</strong> You can copy the values any time from the <strong>RSA key settings</strong> section in the account details page.</p></div>
8. Click the **Done** button. The dialog box closes.

Now you are done.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.cerby.com/cerby-web-app/accounts/protecting-your-accounts/regenerate-an-rsa-key-for-an-account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
