Feature
core/context-propagation
Carries the original caller's identity across the gateway hop, so the service behind a gateway can decide on who called rather than on the gateway that relayed the call. It attaches to a component standing in the request path that declares it can convey a caller's identity (dataplane.aggrega.ai/caller-identity, whichever value), and that component passes the caller's identity along on each request it forwards. propagation_mode names which identity travels, and the two modes are two different identities rather than two strengths of one: client_certificate forwards details of the TLS certificate the client presented, which the component first verifies against a certificate authority the Release names; injected_header forwards headers the component composes after authenticating the caller against its own key store. A component implements one mechanism, declared as the value of its caller-identity label, and a realization refuses a mode its component does not implement, naming the mode asked for and the mechanism the component declares. destinations names which of the places the component forwards to receive the identity, in the component's own vocabulary — model aliases on an AI gateway, routes on an HTTP gateway — and a realization whose component cannot limit the identity that way refuses the attachment when it is set, rather than sending the identity everywhere. The Feature covers the hop from the gateway to what the gateway forwards to, and no further: identity between two workloads that call each other directly, with no gateway between them, is checked at the receiving workload, which is a service mesh's hop rather than a gateway's, and attaching this Feature does not protect it.
出處
- 內容摘要
- sha256:8958f94e1066103bb2fa0111ebcca531ee100e9872698327754d825b55215df6
- 發布時間
- 2026-11-10T10:17:03Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:13796cfe64a14319afc7b5afc1ab2d5bdf8b41a16a427b738bedb014bfb4d948
此版本的參照
oci://hub.aggrega.ai/feature/core/context-propagation:1.0.0- 適用於
- dataplane.aggrega.ai/caller-identity
- 與其衝突
- —
開發者參數
開發者附加此功能時設定的值。
擴充 BaseComponents#/schemas/BaseFeatureParameter
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| propagation_mode | string (client_certificate | injected_header) | — | 是 | Which identity travels to the service behind the component. client_certificate forwards details of the TLS certificate the client presented, once the component has verified it against the certificate authority named in infra.client_ca_secret. injected_header forwards headers the component composes after authenticating the caller itself. The value names what the service behind the component is prepared to read, so it carries no default. |
輸出契約
此功能向使用端發布的值。
未宣告任何輸出值。
註記
未宣告任何註記。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 適用於適用於
dataplane.aggrega.ai/caller-identity
- $ref擴充結構描述(values)
BaseComponents#/schemas/BaseFeatureParameter
被使用於
實作
實作