Updated on 2023-01-31 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 credential to be deleted, see Are Credentials Scheduled to Be Deleted Billed?
  • If you choose to delete a secret immediately, it cannot be restored. Exercise caution when performing this operation.

Procedure

  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. In the dialog box that is displayed, click Schedule deletion or Delete now.

    Figure 2 Deleting a secret

  7. Click OK.

    • 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 credential to be deleted, see Are Credentials Scheduled to Be Deleted Billed?
    • If you choose to delete a secret immediately, it cannot be restored. Exercise caution when performing this operation.