본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

VeriKnox 플러그인 구성 참조

원문 보기 위키 갱신

VeriKnox 플러그인 구성 참조 (VeriKnox Plugin Configuration Reference)

이 문서는 Kong Gateway에서 VeriKnox 플러그인을 구성할 때 참고할 수 있는 설정 스키마를 정리한 참조 문서예요. consumer, consumer_group, route, service 같은 적용 범위 필드와 플러그인이 동작할 프로토콜(protocols) 목록이 어떻게 정의되는지 하나씩 짚어 준다니까요. 특히 config.endpoint에서는 MCP, A2A, 각종 Inference 사양 중 검사할 프로토콜(specification)과 업스트림 제공자 이름(provider)을 지정하는 방법을 설명해요. provider 값은 VeriKnox Hub로 전송되는 감사 증빙(audit receipt)에서 어떤 제공자가 요청을 처리했는지 식별하는 데 쓰인다는 점도 기억해 두면 좋아요

출처: 문서

본문

{
  "properties": {
    "consumer": {
      "additionalProperties": false,
      "description": "If set, the plugin will activate only for requests where the specified consumer has been authenticated.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "consumer_group": {
      "additionalProperties": false,
      "description": "If set, the plugin will activate only for requests where the specified consumer group has been authenticated.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "service": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "protocols": {
      "description": "A list of the request protocols that will trigger this plugin.",
      "items": {
        "enum": [
          "grpc",
          "grpcs",
          "http",
          "https",
          "tcp",
          "tls",
          "tls_passthrough",
          "udp",
          "ws",
          "wss"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "config": {
      "additionalProperties": false,
      "properties": {
        "endpoint": {
          "type": "object",
          "additionalProperties": false,
          "description": "Identifies the upstream protocol and provider for this Route.",
          "properties": {
            "specification": {
              "type": "string",
              "description": "The protocol specification to inspect. Determines how the plugin parses request and response bodies.",
              "enum": [
                "MCP",
                "A2A",
                "Inference:Claude/Messages",
                "Inference:OpenAI/Chat_Completions",
                "Inference:OpenAI/Responses",
                "Inference:OpenRouter/Chat_Completions",
                "Inference:Google/Gemini_Generate_Content"
              ]
            },
            "provider": {
              "type": "string",
              "description": "Logical name for the upstream service. Used in audit receipts sent to VeriKnox Hub to identify which provider handled the request."
            }
          },
          "required": [
            "specification",
            "provider"
          ]
        },
        "agent_passphrase": {
          "type": "string",
          "description": "Passphrase used to decrypt the enrolled data plane identity at runtime. The plugin uses this to sign receipts via the native identity library. Store this value in a Kong Vault and reference it as `{vault://...}` rather than setting a plain string."
        },
        "veriknox_hub": {
          "type": "object",
          "additionalProperties": false,
          "description": "Connection settings for the VeriKnox Hub instance that receives signed receipts and enforces policy.",
          "properties": {
            "base_url": {
              "type": "string",
              "description": "Base URL of your VeriKnox Hub instance.",
              "default": "https://hub.veriknox.ai"
            }
          },
          "required": [
            "base_url"
          ]
        },
        "http_session_header": {
          "type": "string",
          "description": "Name of the HTTP request header from which the plugin extracts a session ID to include in audit receipts. For example, `X-Session-Id` or `X-Claude-Code-Session-Id`. If omitted, no session ID is attached to receipts."
        }
      },
      "required": [
        "endpoint",
        "agent_passphrase",
        "veriknox_hub"
      ],
      "type": "object"
    }
  },
  "required": []
}

관련 리소스

더 알아보기 (Learn more)

이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.