Create Custom Key
    • PDF

    Create Custom Key

    • PDF

    記事の要約

    POST /kms/v1/keys/{keyTag}/create-custom-key

    暗号キーとして活用可能な任意の生キー(Raw key)を作成します。AES256または RSA2048キータイプでのみリクエストできます。

    リクエスト

    リクエストパラメータ

    Parameter NameTypeAdditional Information
    x-ncp-apigw-timestampHeader(Required)
    x-ncp-apigw-signature-v2Header(Required)
    x-ncp-iam-access-keyHeader(Required)
    keyTagPath(Required)
    requestPlainKeyBody: Boolean
    bitsBody: Integer128、256、512 (Default = 256)
    contextBody: StringBase64 Encoded text(Up to 50B)。収束暗号化適用のキーとしてのみ使用可能

    リクエストボディ

    {
      "requestPlainKey": true,
      "bits": 0,
      "context": "string"
    }
    

    レスポンス

    レスポンスボディ

    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "exampleSetFlag": false
        },
        "data": {
          "type": "object",
          "properties": {
            "ciphertext": {
              "type": "string",
              "exampleSetFlag": false
            },
            "plaintext": {
              "type": "string",
              "exampleSetFlag": false
            }
          },
          "exampleSetFlag": false
        }
      },
      "exampleSetFlag": false
    }
    

    この記事は役に立ちましたか?

    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.