Canceling a Vault Deletion

Learn how to cancel the scheduled deletion of a vault.

    1. Open the navigation menu , select Identity & Security, and then select Vault.
    2. Under List scope, select a compartment that contains the vault.
    3. On the Vaults page, select the name of the vault to open its details page.
    4. Select Cancel Deletion.
    5. To confirm, select Cancel Deletion.
  • Open a command prompt and run oci kms management vault cancel-deletion to cancel the pending deletion of a vault:

    oci kms management vault cancel-deletion --vault-id <target_vault_id>

    For example:

    oci kms management vault cancel-deletion --vault-id vault

    For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.

  • Use the CancelVaultDeletion API with the KMSVAULT API endpoint to cancel the scheduled deletion of a vault in OCI.

    For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.