feat(cli): accept a bearer token for gateway authentication
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- kubernetes, rust
- 領域
- authentication, cli
研究方向
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 內容生成。
描述
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
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NVIDIA/OpenShell 的其他 Issue
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 86/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failure可能已有人在做 @TaylorMutch 於 9 天前認領。 未關閉state:accepted state:pr-opened
難度 2/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 1/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 62/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copied未關閉unconfirmed possible issue
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 78/100
jerney-nexus/epikrise#364 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
Yeachan-Heo/gajae-code#8058 ·
維護者通常 1 天內回覆