Updated on 2024-05-15 GMT+08:00

Deleting a Secret

Before deleting a secret, confirm that it is not in use and will not be used.

Prerequisites

The secret to be deleted is in Enabled state.

Constraints

  • A secret will not be deleted until its scheduled deletion period expires. You can set the period to a value within the range 7 to 30 days. Before the specified deletion date, you can cancel the deletion if you want to use the secret. If the scheduled deletion period of a secret expires, the secret will be deleted and cannot be restored.
  • For details about the billing information about a secret to be deleted, see Are Credentials Scheduled to Be Deleted Billed?
  • If you delete a secret immediately, you can restore it using the secret backup that you have downloaded in advance. Exercise caution when performing this operation.

Deleting a Secret

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. In the navigation pane, choose Cloud Secret Management Service.
  5. In the row of a secret, click Delete.

    Figure 1 Deleting a secret

  6. On the displayed page, select a deletion mode. If you want to delete the secret in a specific time, set Schedule deletion.

    Figure 2 Setting schedule deletion

  7. Enter DELETE in the confirmation dialog box and click OK to delete the tag.

    • A secret will not be deleted until its scheduled deletion period expires. You can set the period to a value within the range 7 to 30 days. Before the specified deletion date, you can cancel the deletion if you want to use the secret. If the scheduled deletion period of a secret expires, the secret will be deleted and cannot be restored.
    • For details about the billing information about a secret to be deleted, see Are Credentials Scheduled to Be Deleted Billed?
    • If you delete a secret immediately, you can restore it using the secret backup that you have downloaded in advance. Exercise caution when performing this operation.