enableTDEKey

Syntax

enableTDEKey(masterKeyPath)

Arguments

masterKeyPath is a string specifying the path to the TDE key file.

Details

[Linux Only] This function enables transparent data encryption and initializes the specified TDE key. It must be executed by an administrator on the controller.

It returns true if successful. If an error occurs, check whether the key path is correct and if the file adheres to the required key format.

After the key is successfully configured, users can call the getCurrentTDEKeyVersion function to check the current TDE key version and verify if the encryption configuration is effective.

Examples

enableTDEKey(path/to/key)