Skip to main content
You can delete individual versions or entire secrets. Deleted items can be restored within 30 days. After 30 days, deleted secrets and versions are permanently removed.

Prerequisites

Make sure you are in a group that has at least the editor role within your tenant; for example, the default editors group. You can check this in the Administration → IAM section of the web console.

Deleting versions and secrets

How to delete a version

You can delete any version, even a primary one. However, if you delete a primary version and do not assign another version as primary, you will receive an error when requesting the secret payload without specifying a version. You can only retrieve a payload without specifying a version if the secret has a primary version.
  1. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/mysterybox.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=428f0f38232b7eea96e9d8d993c78cd4 MysteryBox.
  2. Open the page of the required secret.
  3. Go to the Versions tab.
  4. In the line of the version that you want to delete, click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete.
  5. Confirm the version deletion.

How to delete a secret

  1. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/mysterybox.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=428f0f38232b7eea96e9d8d993c78cd4 MysteryBox.
  2. Locate the required secret and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete.
  3. Confirm the deletion of the secret.
A deleted secret counts towards the quota on the number of secrets during 30 days after you delete it. If you hit the quota, you can request to increase it.

Restoring versions and secrets

You can restore deleted items within 30 days after deletion.

How to restore a version

  1. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/mysterybox.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=428f0f38232b7eea96e9d8d993c78cd4 MysteryBox.
  2. Open the page of the required secret.
  3. Go to the Versions tab.
  4. To view versions scheduled for deletion, switch to the Inactive tab.
  5. In the line of the required version, click Restore.
  6. Confirm the version restoration.

How to restore a secret

  1. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/mysterybox.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=428f0f38232b7eea96e9d8d993c78cd4 MysteryBox.
  2. To view secrets scheduled for deletion, switch to the Inactive tab.
  3. Locate the required secret and then click Restore.
  4. Confirm the restoration of the secret.