Allow `step ca certificate` to read token from a file

Aperta
#1,435 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #1625 di @ohhmkar — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli, security

Direzione di ricerca

The issue proposes adding a --token-file option to step ca certificate, matching step ca token's --output-file; a pull request was opened and closed without merging. Read the certificate command's option definitions and related tests, then check how the token is obtained. Done means the certificate command can read its token from a file and tests cover the new option.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue 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

I'm creating some automation tooling that programatically calls step ca token and step ca certificate, and it turns out that it's much easier to have things written to disk, and not have to deal with STDOUT/STDIN in this particular case. step ca token already has a --output-file parameter. I suggest step ca certificate gets a matching --token-file parameter.

Why is this needed?

It would just simplify some tooling, and make more of the commands similar to eachother.

Lingua principale
Go
Stelle
4.3k
Fork
320
Merge medio
2g 3h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di smallstep/cli

Tutte le issue di smallstep/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.