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

Aberta
#5,982 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cli, rust
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
21.5k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/OpenShell

Todas as issues de NVIDIA/OpenShell

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.