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

Abierto
#5,982 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cli, rust
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
21.5k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/OpenShell

Todos los issues de NVIDIA/OpenShell

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.