我要评分
获取效率
正确性
完整性
易理解

updateMK

Function

Updates all master keys.

Syntax

./kmc_tool all --updateMK

Usage Guideline

By default, a maximum of 4096 keys can be iteratively stored in KMC. After a key is updated, the old key will not be deleted for service compatibility. To discard the old key, you need to restart and re-encrypt the content that has been encrypted using the old key, that is, re-enable ZooKeeper security.

Example

./kmc_tool all --updateMK

The new ciphertext is stored in the user-defined folder (ensure that you have the write permission on the folder).