JWE 복호화 플러그인 설정 참조
JWE 복호화 플러그인 설정 참조 (JWE Decrypt Plugin Configuration Reference)
이 문서는 Kong의 JWE Decrypt 플러그인 설정에 대한 참조예요. 설정 항목으로는 JWE 토큰을 찾을 헤더 이름, 복호화된 값을 전달할 헤더 이름, 사용할 키 세트, 엄격 모드 등이 있어요. 또한 플러그인이 적용될 프로토콜, 라우트, 서비스 등을 지정할 수 있어요.
출처: 문서
본문
다음은 Kong 문서의 한 조각이에요. 규칙대로 번역하세요.
{
"properties": {
"config": {
"properties": {
"forward_header_name": {
"default": "Authorization",
"description": "The name of the header that is used to set the decrypted value.",
"type": "string"
},
"key_sets": {
"description": "Denote the name or names of all Key Sets that should be inspected when trying to find a suitable key to decrypt the JWE token.",
"items": {
"type": "string"
},
"type": "array"
},
"lookup_header_name": {
"default": "Authorization",
"description": "The name of the header to look for the JWE token.",
"type": "string"
},
"strict": {
"default": true,
"description": "Defines how the plugin behaves in cases where no token was found in the request. When using `strict` mode, the request requires a token to be present and subsequently raise an error if none could be found.",
"type": "boolean"
}
},
"required": [
"key_sets"
],
"type": "object"
},
"expressions": {
"additionalProperties": true,
"type": "object"
},
"protocols": {
"default": [
"grpc",
"grpcs",
"http",
"https"
],
"description": "A set of strings representing HTTP protocols.",
"items": {
"enum": [
"grpc",
"grpcs",
"http",
"https"
],
"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"
}
},
"required": [
"config"
]
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.