feat(cli): accept a bearer token for gateway authentication
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- kubernetes, rust
- Domínio
- authentication, cli
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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).
- Linguagem predominante
- Rust
- Estrelas
- 21.5k
- Forks
- 2.1k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/OpenShell
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureTalvez já em andamento @TaylorMutch assumiu há 9 dias. Abertastate:accepted state:pr-opened
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Todas as issues de NVIDIA/OpenShell
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/rune#2432 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedAbertaunconfirmed possible issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
jerney-nexus/epikrise#364 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Yeachan-Heo/gajae-code#8058 ·
Mantenedores costumam responder em até 1 dia