Project Service workload identity securely into Fibers

Đang mở
#26 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, kubernetes, rust

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
3
Fork
2
Merge trung bình
3 ngày 57 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hyperlight-dev/lampyr

Tất cả issue của hyperlight-dev/lampyr

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.