# View the secret history and restore a secret

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

* Workspace **Owners**, **Super Admins**, **Admins**, and **Users**
* Secret **Owners**
  {% endhint %}

To view the secret history and restore a secret to a previous version, you must complete the following steps using the Cerby web app:

1. Log in to your corresponding [Cerby](https://app.cerby.com/) workspace.
2. Select the **Secrets** option from the left navigation drawer. The **Secrets** view is displayed.
3. Click the **Settings** icon of the corresponding secret card. The secret details page is displayed with the **Settings** tab activated.\
   **NOTE:** If an identity challenge is configured, the **Confirm your identity to continue** dialog box is displayed. To confirm your identity, use one of [Cerby's multi-factor authentication methods](https://help.cerby.com/tips-and-troubleshooting/best-practices/set-up-your-identity-with-cerby-s-mfa-methods).
4. Click the **Secret history** icon. The **Secret history** dialog box displays the history of the secret on the left pane. ​**NOTE:** Cerby registers the date and time when the secret details are modified and the user who edited the information.
5. Select the date and time that corresponds to the version you want to restore. The secret details of the version are displayed on the right pane.\
   **IMPORTANT:** Attachment history is not supported.
6. Click the **Restore** button. The dialog box closes, a success message box is displayed, and the secret details on the **Settings** tab are restored.


---

# 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://help.cerby.com/cerby-web-app/secrets/managing-your-secrets/view-the-secret-history-and-restore-a-secret.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.
