CryptoImport
Trigger this action to import an export package that contains a certificate.
Use the HTTP POST method with the resource
/mgmt/metadata/default, specifying a
request payload with the following
format:{
"CryptoImport": {
"ObjectType": "type",
"ObjectName": "object",
"InputFilename": "file",
"ImportPassword": "password",
"ImportPasswordAlias": "password_alias"
}
}- ObjectType
- String
- ObjectName
- String
- InputFilename
- String
- ImportPassword
- String
- ImportPasswordAlias
- String
Example
To import a certificate named iop_mgmt_cert from the file
exportedthecert.xml, post the following payload to
https://yourhost:5554/mgmt/actionqueue/default:
{
"CryptoImport": {
"ObjectType": "certificate",
"ObjectName": "iop_mgmt_cert",
"InputFilename": "temporary:///exportedthecert.xml",
"ImportPassword": "abc_123_def_456"
}
}