Add command to issue context-specific x509 auth

Abierto
#1,509 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@hslatman ya está trabajando en esto.

Desde el 11/11/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement needs triage

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

When using the cli tool it can be useful to set STEP_ADMIN_CERT and STEP_ADMIN_KEY especially when testing.

It would be nice if there was a step command that would do the following steps auto-magically 🪄

  1. Issue a certificate pair for your own email from authority-admin
  2. Set the STEP_ADMIN_CERT and STEP_ADMIN_KEY

This would be nice if it respected contexts as well as those are a PITA to work around when using the env auth

Why is this needed?

The cert based env auth is super nice to limit re-issuances during testing, something like the command below allowing the user to set the end time on the auth x509. Then automatically using that cert for auth in that context until it expires (or is revoked

step ca login --context <CTX> --provisioner <etc> --valid-until <1h> <etc>

step ca logout --context <CTX> # To wrapper the revoke and undo actions
Lenguaje dominante
Go
Estrellas
4.3k
Forks
320
Merge medio
2 d 3 h
PR fusionados (30 d)
11

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 smallstep/cli

Todos los issues de smallstep/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.