Closed ramondeklein closed 2 months ago
https://github.com/minio/kes/blame/master/cmd/kes/identity.go#L252-L253
It looks like this has been the behavior for at least a year? But the example and help output still imply that --key
and cert
are optional
The example is wrong. The following works:
$ kes identity new
$ kes identity new --ip 127.0.0.1 --key private.key --cert public.crt
The example has to be fixed to not include the --ip
or also contain a --key
and --cert
.
I think we need an example that includes --ip
. I'll send a PR that adds this to the example. We also need to update https://min.io/docs/kes/tutorials/kes-for-minio to include --key private.key --cert public.crt
:
The documentation on https://min.io/docs/kes/tutorials/getting-started states that you need to generate a private key and self-signed certificate using the
kes identity new --ip "127.0.0.1" localhost
command. However when I run this command with the latest KES version, it shows:When running
kes identity new --help
it shows:Althought the
--ip
option description shows that the--key
and--cert
flags need to be specified, the examples don't.