Cancelling Deletion of a Key Reference

Cancel deletion of a key reference in OCI vault.

The Cancel operation enables to cancel the deletion of a key reference.

    1. Open the Oracle Cloud Console navigation menu and click Identity & Security. Under Key Management and Secret Management, click External Key Management.
    2. In the External key Management home page, select a vault from the summary table.
    3. In the Vault Details page, select a key reference.
    4. In the Key Reference Details page, click Cancel Deletion.

      When you cancel deletion within the scheduled period, the key reference is again set to "Active" state.

  • Open a command prompt and run oci kms management key cancel-deletion to cancel a key reference deletion.

    oci kms management key cancel-deletion -external-key-reference-id <target_key_id> --endpoint <control_plane_url>

    For a complete list of flags and variable options for Vault CLI commands, see Command Line Reference.

  • Run the CancelKeyDeletion operation to cancel deletion of a key reference.

    Note

    For information about using the API and signing requests, see the API Documentation.

    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.