Prerequisites
Make sure you are in a group that has at least theeditor 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.- Web console
- CLI
- In the web console, go to
MysteryBox.
- Open the page of the required secret.
- Go to the Versions tab.
- In the line of the version that you want to delete, click
→ Delete.
- Confirm the version deletion.
How to delete a secret
- Web console
- CLI
- In the web console, go to
MysteryBox.
- Locate the required secret and then click
→ Delete.
- 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
- Web console
- CLI
- In the web console, go to
MysteryBox.
- Open the page of the required secret.
- Go to the Versions tab.
- To view versions scheduled for deletion, switch to the Inactive tab.
- In the line of the required version, click Restore.
- Confirm the version restoration.
How to restore a secret
- Web console
- CLI
- In the web console, go to
MysteryBox.
- To view secrets scheduled for deletion, switch to the Inactive tab.
- Locate the required secret and then click Restore.
- Confirm the restoration of the secret.