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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cli, rust
領域
cli

調査の方向性

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.

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

説明

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.

主要言語
Rust
スター
21.5k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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