updateMK
Function
Updates all master keys.
Syntax
./kmc_tool all --updateMK
Parameter Description
None
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, perform the operations in Enabling ZooKeeper Security again.
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).

Parent topic: Parameter Description