Update Script of the Encryption Component Key
The inference service provides scripts for updating the root key and master key of the encryption component. The scripts are only for reference.
- updateRootKey.sh: updates the root key by invoking updateRootKey (a C++ executable program) in the ${MX_SDK_HOME}/bin directory. No parameters are required.
- updateMasterKey.sh: updates the master key by invoking updateMasterKey (a C++ executable program) in the ${MX_SDK_HOME}/bin directory. -d <int> must be specified, which indicates the number of days before updating the master key. The value ranges from 1 to 365.
- If the keys folder does not exist in the current directory or the key file does not exist in the keys folder, the preceding scripts will initialize and generate new key files during script execution.
- The script execution files are stored in $MX_SDK_HOME/bin/UpdataRootKey and $MX_SDK_HOME/bin/UpdateMasterKey.
- The StreamServer inference service is not a complete system and exists only as a component. To limit the key update frequency, integrate StreamServer into your system in other ways.
Parent topic: KMC Component