Skip to content

Commit

Permalink
Add --ca-kms and --skip-csr-signature flags to usage text
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Aug 9, 2023
1 parent b926631 commit fd609e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/certificate/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ func createCommand() cli.Command {
[**--template**=<file>] [**--set**=<key=value>] [**--set-file**=<file>]
[**--not-before**=<duration>] [**--not-after**=<duration>]
[**--password-file**=<file>] [**--ca**=<issuer-cert>]
[**--ca-key**=<issuer-key>] [**--ca-password-file**=<file>]
[**--ca-key**=<issuer-key>] [**--ca-kms**=<uri>] [**--ca-password-file**=<file>]
[**--san**=<SAN>] [**--bundle**] [**--key**=<file>]
[**--kty**=<type>] [**--curve**=<curve>] [**--size**=<size>]
[**--no-password**] [**--insecure**]`,
[**--skip-csr-signature**] [**--no-password**] [**--insecure**]`,
Description: `**step certificate create** generates a certificate or a
certificate signing request (CSR) that can be signed later using 'step
certificate sign' (or some other tool) to produce a certificate.
Expand Down Expand Up @@ -812,7 +812,7 @@ func parseSigner(ctx *cli.Context, defaultSigner crypto.Signer) (*x509.Certifica
var (
caCert = ctx.String("ca")
caKey = ctx.String("ca-key")
caKMS = ctx.String("ca-kms") // TODO: ensure "softkms:" is handled correctly
caKMS = ctx.String("ca-kms")
profile = ctx.String("profile")
template = ctx.String("template")
)
Expand Down

0 comments on commit fd609e9

Please sign in to comment.