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

TLS 핸드셰이크 수정자 플러그인 구성 참조

원문 보기 위키 갱신

TLS 핸드셰이크 수정자 플러그인 구성 참조 (TLS Handshake Modifier Plugin Configuration Reference)

TLS Handshake Modifier 플러그인의 구성 참조 문서예요. JSON 스키마 형태로 플러그인 설정 파라미터를 정리해 주어서, tls_client_certificate 같은 핵심 옵션과 기본값을 한눈에 확인할 수 있어요. 이 플러그인은 grpcs, https, tls 프로토콜 요청에서 동작하도록 설정되어 있고, Service나 Route를 지정하면 적용 범위를 원하는 대로 좁힐 수도 있어요. expressions 필드를 활용하면 플러그인이 활성화되는 조건을 더 유연하게 제어할 수 있다는 점까지 기억해 두면 좋아요

출처: 문서

본문

{
  "properties": {
    "config": {
      "properties": {
        "tls_client_certificate": {
          "default": "REQUEST",
          "description": "TLS Client Certificate",
          "enum": [
            "REQUEST"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "expressions": {
      "additionalProperties": true,
      "type": "object"
    },
    "protocols": {
      "default": [
        "grpcs",
        "https"
      ],
      "description": "A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.",
      "items": {
        "enum": [
          "grpcs",
          "https",
          "tls"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "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. Leave unset for the plugin to activate regardless of the Service being matched.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

더 알아보기 (Learn more)

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