Updating Encryption Key

The ai-vault updatekey command is used to update the encryption key. Before using this interface, stop the AI-VAULT service.

Before the update, check whether available KSF files exist in the local running directory /home/{userName}/.ai-vault/ksf.

  1. Run the following command to perform the update:
    ./ai-vault updatekey
  2. View run logs to check whether a message indicating that the key is successfully updated is displayed.
    vim /home/{userName}/.ai-vault/log/ai-vault_operate.log