Project Service workload identity securely into Fibers

オープン
#26 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, kubernetes, rust

調査の方向性

Start by reading the Service Identity work in #38 and the related contracts in #23, #24, #25, and #27; coordinate with the Fiberd overhaul before choosing an execution mechanism. The issue calls for synthetic projection tests covering read-only mapping, rotation, path validation, isolation, and error redaction, plus a live federated-login proof. Done also requires documenting trust, ownership, and revocation behavior for the redesigned Fiberd execution model.

索引モデルが issue の本文から書いたものです。

説明

Part of the Service Identity work (#38), feature 4 in its inventory.

Goal

Make a Service's projected workload identity available directly inside its hardware-isolated Fibers.

Coordinate with the Fiberd overhaul before choosing the runtime mechanism. Related contracts: #23, #24, #25 and #27.

Required behavior
  • Consume the validated provider-neutral binding, not hardcoded Azure identity behavior in core.
  • Select the declared/generated ServiceAccount and required identity metadata on the execution host appropriate to the new architecture.
  • Map only the approved projected-token directory read-only into that Service's restored Fiber, preserving the token path named by tokenFileEnvironment.
  • Forward only binding-approved environment variable names and their runtime values. Missing/malformed projection must fail explicitly.
  • Validate normalized roots/paths, containment, symlinks, and regular token files; reject path escape or broad host mounts.
  • Mount the directory, not a copied token or a single inode, so projected token rotation is visible.
  • Identity must be supplied at restore/execution time, never included in the reusable snapshot.
  • Azure's workload token is read by Azure CLI/SDK inside the Fiber; no broker or host process should authenticate on the application's behalf.
Secrecy and isolation
  • No token bytes in snapshots, OCI images, ConfigMaps, annotations, Clone payloads, command arguments, error output, logs, or audit records.
  • Identity variable values must not accidentally become ambient registry-pull credentials.
  • A Fiber cannot read another Service's projection or the host's Kubernetes API token.
  • Network permissions remain a separate explicit policy; identity alone grants no outbound access.
  • Do not add a credential sidecar or application Pod to satisfy projection.
Acceptance

Use synthetic projected directories for unit tests: read-only mapping, approved names only, rotation, missing file, symlink escape, foreign Service identity, and error redaction. Include a live federated-login proof without workstation credentials in the application.

Document trust/ownership and revocation/deletion behavior with the redesigned Fiberd execution model.

主要言語
Rust
スター
3
フォーク
2
平均マージ
3日 57分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hyperlight-dev/lampyr のほかの issue

hyperlight-dev/lampyr の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。