diff --git a/cmd/keyaliases/crtka.go b/cmd/keyaliases/crtka.go index 825cc50ce..c58d8c5bd 100644 --- a/cmd/keyaliases/crtka.go +++ b/cmd/keyaliases/crtka.go @@ -58,7 +58,7 @@ var CreateCmd = &cobra.Command{ ignoreExpiry, ignoreNewLine, selfFile) - case "pem": + case "keycertfile", "pem": _, err = keyaliases.CreateOrUpdateKeyCert(keystoreName, name, false, @@ -93,7 +93,7 @@ func init() { CreateCmd.Flags().StringVarP(&name, "alias", "s", "", "Name of the key alias") CreateCmd.Flags().StringVarP(&format, "format", "f", - "", "Format of the certificate; selfsignedcert, pem or pkcs12 (file extn is .pfx)") + "", "Format of the certificate; selfsignedcert, keycertfile (a.k.a pem), or pkcs12 (file extn is .pfx)") CreateCmd.Flags().StringVarP(&password, "password", "p", "", "PKCS12 password") CreateCmd.Flags().BoolVarP(&ignoreExpiry, "exp", "x", diff --git a/cmd/keyaliases/csr.go b/cmd/keyaliases/csr.go index 09ee5df00..5ae5c71a4 100644 --- a/cmd/keyaliases/csr.go +++ b/cmd/keyaliases/csr.go @@ -41,7 +41,7 @@ func init() { CsrCmd.Flags().StringVarP(&keystoreName, "key", "k", "", "Name of the key store") CsrCmd.Flags().StringVarP(&aliasName, "alias", "s", - "", "Name of the key store") + "", "Name of the key alias") _ = CsrCmd.MarkFlagRequired("alias") _ = CsrCmd.MarkFlagRequired("key") diff --git a/cmd/keyaliases/getcert.go b/cmd/keyaliases/getcert.go index 3d5a3e396..4cb9005e1 100644 --- a/cmd/keyaliases/getcert.go +++ b/cmd/keyaliases/getcert.go @@ -41,7 +41,7 @@ func init() { GetctCmd.Flags().StringVarP(&keystoreName, "key", "k", "", "Name of the key store") GetctCmd.Flags().StringVarP(&aliasName, "alias", "s", - "", "Name of the key store") + "", "Name of the key alias") _ = GetctCmd.MarkFlagRequired("alias") _ = GetctCmd.MarkFlagRequired("key") diff --git a/cmd/keyaliases/getka.go b/cmd/keyaliases/getka.go index 97bd660f7..e3f9d00cb 100644 --- a/cmd/keyaliases/getka.go +++ b/cmd/keyaliases/getka.go @@ -40,9 +40,8 @@ var GetCmd = &cobra.Command{ func init() { GetCmd.Flags().StringVarP(&keystoreName, "key", "k", "", "Name of the key store") - GetCmd.Flags().StringVarP(&aliasName, "alias", "s", - "", "Name of the key store") + "", "Name of the key alias") _ = GetCmd.MarkFlagRequired("alias") _ = GetCmd.MarkFlagRequired("key") diff --git a/cmd/keystores/impks.go b/cmd/keystores/impks.go index 509b64e6f..5ed7099c7 100644 --- a/cmd/keystores/impks.go +++ b/cmd/keystores/impks.go @@ -43,7 +43,7 @@ var ( func init() { ImpCmd.Flags().StringVarP(&filePath, "file", "f", - "", "File containing API Products") + "", "File containing keystores") ImpCmd.Flags().IntVarP(&conn, "conn", "c", 4, "Number of connections")