Exports a master encryption key.
POST {{cryptoEndpoint}}/20180608/exportKey
Exports a specific version of a master encryption key according to the details of the request. For their protection, keys that you create and store on a hardware security module (HSM) can never leave the HSM. You can only export keys stored on the server. For export, the key version is encrypted by an RSA public key that you provide.
Request Body
{"keyId"=>"<string>", "algorithm"=>"RSA_OAEP_AES_SHA256", "publicKey"=>"<string>", "keyVersionId"=>"<string>", "loggingContext"=>{"ullamco_d2d"=>"<string>", "dolore48c"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"keyVersionId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","vaultId":"\u003cstring\u003e","encryptedKey":"\u003cstring\u003e","keyId":"\u003cstring\u003e","algorithm":"RSA_OAEP_SHA256"}