The invention discloses a
key storage mechanism switching method, a cluster
system, a device, a medium and a product, and relates to the technical field of
data security management. And when the current secret
key storage mechanism meets the switching condition of the secret
key storage mechanism, the first main secret key corresponding to the current secret key storage mechanism is utilized to carry out deblocking
processing on the first secret key, and a
plaintext form of the deblocked first secret key is obtained. The data does not need to be encrypted, and online switching of the key storage mechanism is realized through the de-encapsulation and encapsulation of the main key and the first key under the respective key storage mechanism. Through the de-encapsulation and encapsulation between the keys (the main key and the first key of the respective key storage mechanism), the repeated operation of decryption and
encryption on the data is not needed, and the switching efficiency is saved. The data of the current
encryption service is not influenced, and the storage availability and the flexibility of online switching of different key storage mechanisms are improved.