Create keypair
bycloud compute keypairs create --name <name> [flags]Create a new SSH keypair. If `public_key` is provided, it will be imported. If not provided, a new keypair will be generated and the private key returned.
Options
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--name
stringrequired--public_key
stringoptionalSSH public key (if not provided, a new keypair will be generated)
Command
bycloud compute keypairs create \--name "my-resource"
Output
NAME my-keypairCRN crn:spo1:compute:keypair:my-keypairPUBLIC_KEY ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB...FINGERPRINT 2e:f8:7e:a7:d9:85:c6:c9:44:89:6a:4c:56:7e:98:42USER_ID 550e8400-e29b-41d4-a716-446655440000PRIVATE_KEY -----BEGIN RSA PRIVATE KEY-----...