To configure the vHSM server, you must first set up Vault. For details on the various parameters you can configure for Vault, refer to the section.
Note: After you create the configuration file, -config flag with the vhsm server command and specify the path to the configuration JSON file.
Example 1: To configure vHSM for file storage and Raft storage cluster
To configure the vHSM, Vault must be set up first. Outside of development mode, Vault servers require a persistent storage method for configuration. This configuration is stored in a JSON file.
To set up the vHSM CLI with an attestation provider, configure it to verify a fresh report for the specified workload, ensuring the response includes an authentication token for the vHSM instance.