HMAC SHA256 - Import a secret share
POST/hmac-sha256/import/import-secret-share
This API endpoint part of the Exchange API Vault. Please contact the Sodot team for access.
This API endpoint requires an API Key with at least one of the following Roles: KeysManager | KeysImporter
Each party is required to have its own secret share of the HMAC-SHA256 key to be imported. Then, each party will provide its secret share and it will be stored within the Vertex ready for the 'sign' MPC operation.
Note: To generate secret shares from an HMAC-SHA256 key, use one of Sodot's key-sharing SDKs.
It is important to run a 'sign' MPC operation after import and check that the HMAC-SHA256 signature validates with the relevant validating party (e.g. exchange server).
This is required as HMAC does not have a public key and therefore there is no way to validate it on import.
Request
Responses
- 200
- 400
- 401
- 404
- 500