< Home

pki delete replaced-file to recycle-bin enable

Function

The pki delete replaced-file to recycle-bin enable command moves overwritten files to the recycle bin.

The undo pki delete replaced-file to recycle-bin enable command cancels moving overwritten files to the recycle bin.

By default, overwritten files are permanently deleted.

Format

pki delete replaced-file to recycle-bin enable

undo pki delete replaced-file to recycle-bin enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Overwritten files are permanently deleted by default and cannot be restored. If you want to restore overwritten files in case that new files are unavailable, run the pki delete replaced-file to recycle-bin enable command to move these files to the recycle bin.

The pki delete replaced-file to recycle-bin enable command applies only to the following scenarios:
  • The existing certificates have been overwritten using the pki get-certificate command.
  • The existing certificates and CRL have been overwritten using the pki http command.
  • The existing certificates have been overwritten using the pki cmp initial-request session command.
  • The existing certificates have been overwritten using the pki cmp certificate-request session command.
  • The existing certificates have been overwritten using the pki cmp keyupdate-request session command.
  • The existing CRL has been overwritten using the pki get-crl command.
  • The existing certificates have been overwritten using the pki enroll-certificate command.
  • The existing certificates have been overwritten using the pki create-certificate command.
  • The existing certificates have been overwritten using the pki export-certificate command.
  • The existing RSA key pair has been overwritten using the pki export rsa-key-pair command.
  • The existing certificates have been overwritten using the pki import-certificate peer command.
  • The existing CRL has been overwritten using the pki import-crl command.
  • The existing RSA key pair and certificates have been overwritten using the pki import rsa-key-pair command.

Example

# Enable the function of moving overwritten files to the recycle bin.

<HUAWEI> system-view
[HUAWEI] pki delete replaced-file to recycle-bin enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >