Skip to main content
POST
/
v2
/
SystemGenerateWrappingKey
Generate wrapping key from Shamir's Secret Sharing keys
curl --request POST \
  --url http://localhost:3000/v2/SystemGenerateWrappingKey \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "key1": "<string>",
  "key2": "<string>",
  "key3": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok",
  "wrappingkey": "<string>"
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
key1
string
required

First Shamir secret sharing key

key2
string
required

Second Shamir secret sharing key

key3
string
required

Third Shamir secret sharing key

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Wrapping key generated successfully

status
string
Example:

"ok"

wrappingkey
string

The generated wrapping key