talos/docs/osctl/osctl_gen_keypair.md
Andrey Smirnov 399aeda0b9 feat: rename confusing target options, --endpoints, etc.
Fixes #1610

1. In `talosconfig`, deprecate `Target` in favor of `Endpoints`
(client-side LB to come next).

2. In `osctl`, use `--nodes` in place of `--target`.

3. In `osctl` add option `--endpoints` to override `Endpoints` for the
call.

Other changes are just updates to catch up with the changes. Most
probably I missed something... And CAPI provider needs update.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-12-10 02:23:54 +03:00

36 lines
853 B
Markdown

<!-- markdownlint-disable -->
## osctl gen keypair
Generates an X.509 Ed25519 key pair
### Synopsis
Generates an X.509 Ed25519 key pair
```
osctl gen keypair [flags]
```
### Options
```
--ca string path to the PEM encoded CERTIFICATE
-h, --help help for keypair
--ip string generate the certificate for this IP address
```
### Options inherited from parent commands
```
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
--nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/smira/.talos/config")
```
### SEE ALSO
* [osctl gen](osctl_gen.md) - Generate CAs, certificates, and private keys
###### Auto generated by spf13/cobra on 10-Dec-2019