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

Aberta
#1,435 2 comentários 2 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@YuukiRitoTeng já está trabalhando nisso.

Desde 19/8/2026.

  • #1625 de @ohhmkar — fechado sem integrar
  • #1686 de @YuukiRitoTeng — aberto

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
Estagnada
Stack de tecnologia
go
Domínio
cli, security

Direção de pesquisa

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.

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

Descrição

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.

Linguagem predominante
Go
Estrelas
4.3k
Forks
320
Merge médio
2d 3h
PRs com merge (30d)
11

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

Todas as issues de smallstep/cli

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

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