Create Key
- Print
- PDF
Create Key
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
POST /kms/v1/keys
Create a key.
Request
Request parameters
Parameter Name | Type | Additional Information |
---|---|---|
x-ncp-apigw-timestamp | Header(Required) | |
x-ncp-apigw-signature-v2 | Header(Required) | |
x-ncp-iam-access-key | Header(Required) | |
keyName | Body: String | String length: 3 ~ 15 characters. |
keyType | Body: String | 'AES256', 'RSA2048', 'ECDSA' |
memo | Body: String | Up to 200B |
isConvergent | Body: Boolean | Can only be set true for keyType=AES256 |
isAutoRotation | Body: Boolean | |
rotationPeriod | Body: Integer | Can only be set isAutoRotation is true (Default = 90). |
protectionType | Body: String | 'BASIC', 'COMMON_HSM' |
Request body
{
"keyName": "string",
"keyType": "AES256",
"memo": "string",
"isConvergent": true,
"isAutoRotation": true,
"rotationPeriod": 0,
"protectionType": "BASIC"
}
Response
Response body
{
"code": "SUCCESS",
"data": {
"keyId": 0,
"keyTag": "string",
"keyName": "string",
"keyType": "string",
"status": "string",
"keystoreId": 0,
"protectionType": "string",
"memo": "string",
"isConvergent": true,
"isAutoRotation": true,
"rotationPeriod": 0,
"nextRotationDate": 0,
"registerDate": 0
}
}
Was this article helpful?