TLS 메타데이터 헤더 플러그인 구성 레퍼런스
TLS 메타데이터 헤더 플러그인 구성 레퍼런스 (TLS Metadata Headers Plugin Configuration Reference)
이 문서는 Kong의 TLS Metadata Headers 플러그인 설정 스키마를 정리한 구성 레퍼런스예요. 클라이언트 인증서의 PEM 데이터, SHA1 지문, 발급자 DN, 주체 DN, 일련번호 같은 TLS 메타데이터를 HTTP 헤더로 주입하는 기능을 켜고, 각 헤더의 이름을 기본값과 함께 지정하는 방법을 설명해요. 지원 프로토콜(https, grpcs, tls)과 route, service 같은 적용 범위 필드도 함께 다루니, 플러그인 구성에 필요한 파라미터를 모두 여기서 확인할 수 있어요
출처: 문서
본문
{
"properties": {
"config": {
"properties": {
"client_cert_fingerprint_header_name": {
"default": "X-Client-Cert-Fingerprint",
"description": "Define the HTTP header name used for the SHA1 fingerprint of the client certificate.",
"type": "string"
},
"client_cert_header_name": {
"default": "X-Client-Cert",
"description": "Define the HTTP header name used for the PEM format URL encoded client certificate.",
"type": "string"
},
"client_cert_issuer_dn_header_name": {
"default": "X-Client-Cert-Issuer-DN",
"description": "Define the HTTP header name used for the issuer DN of the client certificate.",
"type": "string"
},
"client_cert_subject_dn_header_name": {
"default": "X-Client-Cert-Subject-DN",
"description": "Define the HTTP header name used for the subject DN of the client certificate.",
"type": "string"
},
"client_serial_header_name": {
"default": "X-Client-Cert-Serial",
"description": "Define the HTTP header name used for the serial number of the client certificate.",
"type": "string"
},
"inject_client_cert_details": {
"default": false,
"description": "Enables TLS client certificate metadata values to be injected into HTTP headers.",
"type": "boolean"
}
},
"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)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.