Create Key
- Print
- PDF
Create Key
- Print
- PDF
The content is currently unavailable in English. You are viewing the default Korean version.
Article summary
Did you find this summary helpful?
Thank you for your feedback
POST /kms/v1/keys
키를 생성합니다.
요청
요청 파라미터
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' |
요청 바디
{
"keyName": "string",
"keyType": "AES256",
"memo": "string",
"isConvergent": true,
"isAutoRotation": true,
"rotationPeriod": 0,
"protectionType": "BASIC"
}
응답
응답 바디
{
"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?