feat(cli): accept mTLS client certificate files through flags or environment variables

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/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ệ
cli, rust
Lĩnh vực
cli

Hướng nghiên cứu

The CLI reads mTLS material only from gateways/NAME/mtls/ under its config directory, and the add command and global flags do not take certificate paths. Start from the code that resolves that directory and where gateway add and the global flags/env vars are parsed. Done means certificate, key and CA paths can be given via flags or env vars and used without copying files into the config layout.

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

Mô tả

state:triage-needed

The CLI reads an mTLS gateway's client certificate, key, and CA only from gateways/NAME/mtls/ in its config directory.

Current behavior

In v0.1.10, neither gateway add nor a global flag or environment variable accepts certificate file paths, so a client must place files in the CLI's internal config layout to use mTLS.

Request

Accept the client certificate, key, and CA bundle paths through flags or environment variables (alongside the existing gateway endpoint and workspace variables), so a client can use certificates it already has without writing into the CLI's config directory.

Use

NemoClaw runs the pinned OpenShell CLI against the user's deployment with a private config directory (nemoclaw osh, NVIDIA/NemoClaw#14855). For mTLS gateways it currently links the deployment's certificates into gateways/NAME/mtls/, which relies on that layout. With file inputs, it would pass the paths directly.

Ngôn ngữ chính
Rust
Star
21.5k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

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.