---
title: secureEraseAllKeystore
description: "请谨慎使用，此命令会删除所有密钥文件，建议仅在软件卸载时使用。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2300/bds/kunpengbds_omniruntime_20_0158.html
sourcePath: /source/zh/kunpengboostkithistory/2300/bds/kunpengbds_omniruntime_20_0158.html
indexId: f2810d164e57effe0a727b97deead8af3871863325a2b4057855663834471e6f78
---
# secureEraseAllKeystore

请谨慎使用，此命令会删除所有密钥文件，建议仅在软件卸载时使用。

#### 命令功能

安全删除所有密钥存储文件（此命令需慎用，请用户提前对密钥文件备份）。


#### 命令格式

./kmc_tool all --secureEraseAllKeystore MasterKeyStorePath StandbyKeyStorePath


#### 参数说明

| 参数 | 说明 |
| --- | --- |
| MasterKeyStorePath | 待删除主密钥路径。 |
| StandbyKeyStorePath | 待删除备密钥路径。 |


#### 使用实例

```
./kmc_tool all --secureEraseAllKeystore
/master/ksfa /standby/ksfb
```
