Creating and Exporting a Master Key

AI-VAULT can export the master key, which can be imported to AI-GUARD for encryption.

  • For security purposes, if a master key is no longer used, delete it and its related information.
  • You need to create a master key, which is managed and stored by KMC. You can request KMC to obtain the plaintext of the master key and use it only in the memory.
  • Users need to enter passwords to encrypt and decrypt keys during export and import.
  1. Call the API to create a master key.

    Set the URL and headers by referring to Creating a Master Key.

  2. Configure a request example.
    POST https://ip:port/AIVAULT/v1/createMK
    {
        "MKName":"test",
        "MKUsage":"test create",
        "MKRemarks":"test create",
        "Password" :"******"
    }
  3. Send a request for creating a master key. If the request is successful, the MK.json file is returned.