updateMK
Function
Updates all master keys.
Syntax
./kmc_tool all --updateMK
- By default, a maximum number of 4096 keys can be stored in KMC. When updating keys, pay attention to the maximum number.
- After keys are updated, the old keys will not be deleted. If you want to delete the old keys, re-encrypt all the encrypted content, that is, enable the ZooKeeper security feature 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: Key Management Tool