Create Key
    • PDF

    Create Key

    • PDF

    기사 요약

    POST /kms/v1/keys

    키를 생성합니다.

    요청

    요청 파라미터

    Parameter NameTypeAdditional Information
    x-ncp-apigw-timestampHeader(Required)
    x-ncp-apigw-signature-v2Header(Required)
    x-ncp-iam-access-keyHeader(Required)
    keyNameBody: StringString length: 3 ~ 15 characters.
    keyTypeBody: String'AES256', 'RSA2048', 'ECDSA'
    memoBody: StringUp to 200B
    isConvergentBody: BooleanCan only be set true for keyType=AES256
    isAutoRotationBody: Boolean
    rotationPeriodBody: IntegerCan only be set isAutoRotation is true (Default = 90).
    protectionTypeBody: 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
      }
    }
    

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.