feat(cli): accept a bearer token for gateway authentication

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

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

評価

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

調査の方向性

Start with how the CLI selects a gateway and what gateway add stores, since the issue says neither a global flag nor an environment variable currently accepts a bearer token. The payload names no source files, so locate the existing auth handling first. Done means a non-interactive client can pass a token through a flag or environment variable (or a file path) without writing it into the CLI config. The flag-versus-env design is not settled, so confirm it with maintainers before coding.

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

説明

state:triage-needed

The CLI can't authenticate to a gateway that requires a bearer token unless that token comes from an interactive sign-in.

Current behavior

In v0.1.10, neither a global flag, an environment variable, nor gateway add accepts a bearer token, so a client that already holds one (for example, a Kubernetes service account token) can't use the CLI.

Request

Accept a bearer token for the selected gateway through a flag or an environment variable (for example, reading it from a file path), so a non-interactive client can authenticate without writing the token into the CLI's own config.

Use

NemoClaw bundles the pinned OpenShell CLI and runs it against the user's deployment (nemoclaw osh). Its managed Kubernetes and OpenShift gateways authenticate with a bearer token, so nemoclaw osh refuses them today (NVIDIA/NemoClaw#14880).

主要言語
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 を短くまとめたダイジェスト。