AI 데이터 플레인 인증서
AI 데이터 플레인 인증서 (AI Data Plane Certificates)
AI 데이터 플레인 인증서는 데이터 플레인의 공개 X.509 인증서를 AI Gateway에 등록해서 mTLS 연결에서 신뢰할 클라이언트 신원을 지정하는 엔티티예요 이 문서에서는 AI Gateway가 컨트롤 플레인 역할을 하며 제시된 인증서를 검증해 연결을 허용하거나 거부하는 신뢰 모델을 먼저 설명해요 그리고 여러 인증서를 등록해 무중단으로 키를 교체하거나 삭제만으로 특정 데이터 플레인의 신뢰를 즉시 회수하는 라이프사이클까지 다뤄요 Konnect AI Gateway API, Konnect UI, Terraform으로 관리하는 방법도 함께 소개해요
출처: 문서
본문
데이터 플레인 인증서란 무엇인가요?
데이터 플레인 인증서는 공개 X.509 인증서를 AI Gateway가 신뢰하는 클라이언트 신원으로 등록하는 AI Gateway 엔티티예요. mTLS 핸드셰이크 중 일치하는 개인 키를 제시하는 데이터 플레인은 연결이 허용되고, 등록된 인증서와 일치하는 것이 없는 데이터 플레인은 거부돼요.
각 데이터 플레인 인증서는 정확히 하나의 AI Gateway에 속해요. AI Gateway에는 인증서를 여러 개 등록할 수 있어서, 데이터 플레인 플릿별로 하나씩 발급하거나, 다운타임 없이 키를 교체하거나, 일부 데이터 플레인에 대한 신뢰를 독립적으로 취소할 수 있어요.
데이터 플레인 인증서는 Konnect AI Gateway API, Konnect UI, 또는 Terraform을 통해 관리할 수 있어요:
Konnect
컨트롤 플레인: Konnect AI Gateway API 엔드포인트: /v1/ai-gateways/{aiGatewayId}/data-plane-certificates
신뢰 모델
AI Gateway는 CP/DP 토폴로지에서 컨트롤 플레인 역할을 해요. 각 데이터 플레인은 TLS 핸드셰이크 중에 클라이언트 인증서를 제시하고, AI Gateway는 제시된 인증서가 해당 AI Gateway에 데이터 플레인 인증서로 등록된 인증서와 일치하는 경우에만 연결을 수락해요.
AI Gateway에는 공개 인증서만 등록돼요. 개인 키는 데이터 플레인 쪽에서 생성되고 보관되며, 절대 데이터 플레인 호스트 밖으로 나가지 않아요.
sequenceDiagram
participant DP as Data Plane
participant CP as AI Gateway (Control Plane)
Note over DP: Holds private key locally
(never sent over the network)
DP->>CP: TLS handshake with client certificate
Note over CP: Compare presented certificate against
registered Data Plane Certificates
alt Certificate matches a registered entry
CP-->>DP: TLS handshake completes
DP->>CP: Receive configuration and stream telemetry
else No matching registered certificate
CP-->>DP: Connection rejected
end
라이프사이클
데이터 플레인 인증서는 create, list, get, delete 작업을 지원해요. update 엔드포인트는 없고, 인증서 본문은 변경할 수 없어요.
다운타임 없이 인증서를 교체하려면:
- 새 인증서를 AI Gateway에 추가 데이터 플레인 인증서로 등록하세요.
- 데이터 플레인이 새 인증서와 키를 제시하도록 재구성하세요.
- 데이터 플레인이 새 신원으로 다시 연결됐는지 확인하세요.
- 기존 데이터 플레인 인증서를 삭제하세요.
데이터 플레인 인증서를 삭제하면 아직 해당 인증서를 사용 중인 데이터 플레인에 대한 신뢰가 즉시 무효화돼요. 기존 연결은 끊어지고, 삭제된 인증서를 사용한 재연결 시도는 거부돼요.
스키마
{
"type": "object",
"properties": {
"cert": {
"description": "JSON escaped string of the certificate.",
"type": "string"
},
"title": {
"description": "A human-readable name for the certificate.",
"type": "string",
"maxLength": 256,
"minLength": 1
},
"description": {
"description": "An optional description of the certificate.",
"type": "string",
"maxLength": 1024
},
"labels": {
"$ref": "#/components/schemas/PublicLabels"
},
"managed_by": {
"$ref": "#/components/schemas/ManagedBy"
},
"id": {
"$ref": "#/components/schemas/UUID"
},
"created_at": {
"$ref": "#/components/schemas/CreatedAt"
},
"updated_at": {
"$ref": "#/components/schemas/UpdatedAt"
},
"metadata": {
"description": "Metadata extracted from the certificate.",
"type": "object",
"additionalProperties": false,
"properties": {
"subject": {
"description": "The certificate subject.",
"type": "string"
},
"issuer": {
"description": "The certificate issuer.",
"type": "string"
},
"san_names": {
"description": "Subject alternative names (deprecated).",
"type": "array",
"items": {
"type": "string"
},
"deprecated": true
},
"expiry": {
"description": "Unix timestamp of certificate expiry.",
"type": "integer",
"format": "int64"
},
"key_usages": {
"description": "Key usage types for the certificate.",
"type": "array",
"items": {
"type": "string"
}
},
"snis": {
"description": "Server Name Indications associated with the certificate.",
"type": "array",
"items": {
"type": "string"
}
},
"dns_names": {
"description": "DNS subject alternative names.",
"type": "array",
"items": {
"type": "string"
}
},
"email_addresses": {
"description": "Email subject alternative names.",
"type": "array",
"items": {
"type": "string"
}
},
"ip_addresses": {
"description": "IP subject alternative names.",
"type": "array",
"items": {
"type": "string"
}
},
"uris": {
"description": "URI subject alternative names.",
"type": "array",
"items": {
"type": "string"
}
},
"is_ca": {
"description": "Whether the certificate is a CA certificate.",
"type": "boolean"
}
},
"readOnly": true
}
},
"additionalProperties": false,
"required": [
"cert",
"title",
"id",
"created_at",
"updated_at"
]
}
FAQ
-
update 작업은 왜 없나요? 인증서 본문은 한 번 등록되면 변경할 수 없어요. 교체하려면 기존 인증서와 함께 새 데이터 플레인 인증서를 등록하고, 데이터 플레인을 새 인증서로 전환한 뒤 기존 항목을 삭제하세요. 이 패턴을 사용하면 인증서가 하나도 설치되어 있지 않은 시간 창이 생기는 것을 피할 수 있어요.
-
인증서가 삭제되면 연결된 데이터 플레인은 어떻게 되나요? 삭제된 인증서로 연결 중인 데이터 플레인은 신뢰 앵커를 잃고 더 이상 AI Gateway에 연결을 설정할 수 없어요. 기존 인증서를 삭제하기 전에 데이터 플레인을 대체 인증서로 전환하세요.
-
개인 키는 인증서와 함께 저장되나요? 아니요. AI Gateway에는 공개 인증서만 등록돼요. 그에 대응하는 개인 키는 데이터 플레인에 남아 있고 Konnect로는 절대 전송되지 않아요.
-
같은 인증서를 여러 데이터 플레인이 사용할 수 있나요? 네. 등록된 인증서와 그 개인 키로 프로비저닝된 데이터 플레인이라면 연결을 설정할 수 있어요. 일부 데이터 플레인의 신뢰를 독립적으로 취소해야 할 때는 여러 인증서를 사용하세요.
-
이 기능은 Kong Gateway 데이터 플레인 클라이언트 인증서와 어떤 관계가 있나요? 컨트롤 플레인과 데이터 플레인 사이에 상호 TLS를 설정한다는 점에서 같은 역할을 하지만, Konnect Gateway 컨트롤 플레인 API가 아니라 AI Gateway 엔티티 인터페이스를 통해 관리되며 단일 AI Gateway 인스턴스에 한정돼요.
관련 리소스
더 알아보기 (Learn more)
- AI Gateway의 전체 개념과 구성 요소를 먼저 훑어보고 싶을 때 좋은 개요 문서예요 — About AI Gateway
- 자체 관리 Kong Gateway에서 인증서를 등록할 때 사용하는 표준 엔티티 문서예요 —
/certificates - 자체 관리 배포에서 컨트롤 플레인과 데이터 플레인의 연결 구조를 이해하는 데 도움이 되는 문서예요 — hybrid mode node configuration