> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/portal/sign-in-and-security/private-key-storage.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Private key storage

Store the Devolutions Account private key used by Devolutions Cloud on a mobile device, as a QR code, with a password or in a security key.

The private key of your Devolutions Account protects your encrypted Devolutions Cloud data: "Your Private Key is mandatory in case you access your Devolutions Cloud from a new device. You will then validate your identity with one of these methods." The storage methods are managed in Devolutions Portal – [***Sign-in & security***](https://portal.devolutions.com/security) – ***Private key storage methods***.

### Private key storage methods

<table><thead><tr><th width="260">METHOD</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Store on a mobile device</strong></td><td>Recommended. The private key is stored on the Devolutions Password Manager mobile app, which receives a Push notification to approve new devices. Managed in Devolutions Portal.</td></tr><tr><td><strong>Store as a QR code</strong></td><td>The private key is downloaded or printed as a QR code, which you scan (or type) to approve new devices. Managed in Devolutions Portal.</td></tr><tr><td><strong>Password</strong></td><td>The private key is linked to your Devolutions Account password. Offered when the private key is first set up at sign-in.</td></tr><tr><td><strong>Security key</strong></td><td>The private key is stored in a security key with the PRF encryption extension, "supported by most security keys manufactured since 2019". Offered when the private key is first set up at sign-in, and with the <em><strong>Store encryption key</strong></em> option of a key on the <a href="https://docs.devolutions.net/portal/sign-in-and-security/security-key-and-passkey.md">Security key and passkey</a> page.</td></tr></tbody></table>

In the ***Private key storage methods*** card of Devolutions Portal, a configured method shows a check mark; a method that is not configured shows a ***Configure*** button. Several methods can be configured at the same time, and at least one must stay configured: "You cannot delete your last private key storage method."

Devolutions Portal asks you to reauthenticate (***Reauthentication Required***: your password, or a code sent by email) before each change to a storage method: ***Store on a mobile device***, ***Unpair***, ***Create a new QR code***, ***Regenerate a new QR Code***, ***Delete Current QR Code*** and the ***Store encryption key*** option of a security key.

### First setup at sign-in

The first time the private key is needed (for example, when you first open Devolutions Cloud), the ***Store Your Private Key*** page asks you to "Choose a method to store your Private Key:". The choices are ***Mobile App*** (Recommended), ***QR Code***, ***Password*** and ***Security Key***. Only the methods that are not configured yet are listed.

For ***Security Key***, the security key is prompted twice: "We must prompt your security key twice; once to register it for authentication, and a second time to generate your encryption key." Use the same security key both times. A key or browser without the PRF extension is refused: "The required PRF encryption extension is not supported by this browser or Security Key. Please try with a different security key or choose another encryption storage method."

### Store on a mobile device

1. In Devolutions Portal, go to ***Sign-in & security*** – ***Store on a mobile device***.
2. Select ***Store on a mobile device***. The ***Devolutions Password Manager Configuration*** page of the Devolutions Account opens.
3. Download Devolutions Password Manager on your mobile device if needed.
4. Scan the QR code shown with Devolutions Password Manager ("Scan this QR code in Devolutions Password Manager"), or enter the code shown in the app.

When the pairing is done, you return to Devolutions Portal, which shows "Your Private Key is securely stored on the Devolutions Password Manager mobile app." and the pairing date (***Paired on***). An outdated mobile app is refused: "Your Devolutions Password Manager application is outdated! Please update it then try again."

#### Unpair

Select ***Unpair*** to remove the private key from the Devolutions Password Manager mobile app, then confirm ***Unpair device***. This option is useful when the pairing has problems and you want to redo the configuration.

When the mobile app is your only private key storage method, ***Unpair*** is replaced by ***Lost your phone?***, which starts the recovery of the phone.

### Store as a QR code

1. In Devolutions Portal, go to ***Sign-in & security*** – ***Store as a QR code***.
2. Select ***Create a new QR code***. The ***Download or Print your Private Key as a QR Code*** page of the Devolutions Account opens.
3. ***Download*** or ***Print*** the QR code. Whichever you choose, **keep it in a safe place**.

The page then shows the date of the QR code (***Downloaded on***).

#### Regenerate or delete the QR code

Open the vertical ellipsis menu of the QR code:

* ***Regenerate a new QR Code*** creates a new QR code: "Are you sure you want to regenerate the QR Code on your Private Key?"
* ***Delete Current QR Code*** deletes the QR code from your Devolutions Account. The last private key storage method cannot be deleted: "We are unable to delete your QR Code if it is your last private key storage method."

{% hint style="warning" %}
Generating a new QR code makes your old code unusable. We therefore recommend that you destroy the old code after generating the new one.
{% endhint %}

### Unlock the private key on a new device

On a new browser or device, the ***Choose a method to unlock*** page offers the methods you configured: ***Password***, ***Mobile App***, ***QR Code*** (scan it with the ***Camera***, or type it with ***Manual***) or ***Security Key***.

If you have none of them, follow the ***Forgotten password*** steps in [Create your Devolutions Account](https://docs.devolutions.net/portal/profile/create-your-devolutions-account.md#forgotten-password): its ***Retrieve Encryption Key*** page offers ***I have none of these***, which generates a new encryption key. "You will need to use your recovery key to regain access to any Devolutions Cloud instances you previously had access to."


---

# 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://docs.devolutions.net/portal/sign-in-and-security/private-key-storage.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.
