# How to generate an encryption key

### Encrypted backups

Weap.io allows you to encrypt your backups using asymmetric encryption. This means that your backups will be encrypted using a public key and only the person which has the private key will be able to decrypt them. If the private key is lost, you will not be able to decrypt your backups.

### How to generate an encryption key

Open the Weap.io Dashboard, go to the settings and choose **`Encryption keys`** in the left menu.&#x20;

![](/files/-MRP-Gj1CQ9UKXypiwvr)

On the page just opened, click the button **`Create encryption key`**. Type an intuitive name to easily recognise the encryption key laster and check the checkbox that tells you to store the encryption key in a secure location.

Next, click the button Generate encryption key. The download of your private key will start.&#x20;

{% hint style="danger" %}
The key must be kept safe because without it you will not be able to decrypt the backups. We don't store the private key, it's your responsibility to make sure it is safely stored.
{% endhint %}

![](/files/-MRP02HBH_kbngboUcdJ)

Your encryption key was generated and it's ready to be used.&#x20;

### Generating multiple encryption keys

You are able to generate as many encryption keys as wanted. This is useful in case you want to use a different encryption key for each database.


---

# Agent Instructions: 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:

```
GET https://docs.weap.io/encryption-keys/how-to-generate-an-encryption-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
