> 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/generate-an-rsa-key-for-an-account.md).

# Generate an RSA key for an account

{% 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**, you can generate and save a 4096-bit RSA keypair for your account so it can be retrieved and used in integrations for authentication purposes. Some external systems, such as data warehouses, require RSA key authentication for programmatic and service account access instead of passwords.

When you generate a key, Cerby stores three values: the **public key** (PEM), the **encrypted private key** (PEM), and the **passphrase** used to decrypt the private key. Only account **Owners** can generate a key and retrieve these values.

{% hint style="danger" %}
**IMPORTANT:** RSA keys are only supported for accounts stored in cloud vaults and for specific apps. Contact our Support team by sending an email to <support@cerby.com> or a message through the help chat in the Cerby dashboard to request this feature for an app.
{% endhint %}

To generate 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 **Generate key** button. The **Generate RSA key** dialog box is displayed.
5. Enter a passphrase in the **Passphrase** field.
6. Click the **Generate 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
