You can unseal all the instances of the key management server for the HCP for cloud scale system.
HTTP request syntax (URI)
POST https://host_ip:9099/mapi/v1/s3_encryption/unseal
Request structure
The request body is:
{ "unsealKey1": "string", "unsealKey2": "string", "unsealKey3": "string" }
Parameter | Required | Type | Description |
---|---|---|---|
unsealKey1, unsealKey2, unsealKey3 | Yes | String | An unseal key. You must provide three unseal keys in the request. |
Response structure
Not applicable.
Return codes
Status code |
HTTP name |
Description |
---|---|---|
200 | OK | The request was executed successfully. |
400 | Bad Request | The request is missing a valid unseal key. |
401 | Unauthorized | Access was denied because credentials are not valid. |
405 | Method Not Allowed | The specified HTTP method is not allowed for a storage component. Resend using POST. |
Example
Request example:
POST https://10.10.24.195:9099/mapi/v1/s3_encryption/unseal
JSON request:
{ "unsealKey1": "f7a0652cbe07d573a7eeab127ff102454c33adc9402e49622ffa5b5f43cec0794e", "unsealKey2": "4d7e620a694cb607dd1e503027f82880f376edfb1024548d0121572a3dc989c685", "unsealKey3": "6c6081054e26ec55824eb97481acd1f31d660d99e4ba158ca4248e39a8d4de1e16" }