---
title: "Restoring deleted secrets"
canonical: "https://support.appfire.com/space/SECC/477725994/Restoring%20deleted%20secrets"
format: markdown
---
> Macro (aura-html)

> ℹ️ [DECember 2023]  We have released an improved version with enhanced security of Security and Encryption for Confluence Cloud. Check out the [next steps for administrators](https://appfire.atlassian.net/wiki/spaces/SECC/pages/477727589).

## Deleted secret

When a secret is [deleted](https://appfire.atlassian.net/wiki/spaces/SECC/pages/477725968), it is sent to the **Trash**. It is also removed from the list of secrets.

A deleted secret will no longer be accessible through its direct URL. In the [audit logs](https://appfire.atlassian.net/wiki/spaces/SECC/pages/477725973), the secret will be marked as **Deleted**.

![image](media://5acc6796-d811-4d1e-bed5-de8a5d7fc28c)

> ✅ As a space administrator, you can restore or purge deleted secrets. Purging will remove the secret from Confluence in its entirety, except for its audit logs.

## Restoring a secret

When a deleted secret is restored, all the information and functionality are recovered. Follow these steps to restore:

- choose **Space Settings**
- under **Manage pages**, select **Trash**.
- find the deleted secret to recover
- choose **Restore** and follow the confirmation dialog

> ℹ️ When restoring an [upgraded legacy secret](https://appfire.atlassian.net/wiki/spaces/SECC/pages/477727787), you will be prompted to the secret and the secret info. Click **Restore **for both. (See image below.)

![image](media://27692279-4bdd-4a3b-affb-82b9515df1d3)

### Known issue

> ❌ Restored secrets do not appear in search results due to a known bug in Confluence. See [CONFCLOUD-70589](https://jira.atlassian.com/browse/CONFCLOUD-70589).