ByCloud Docs
GuidesCLIAPISDK

Get keypair

bycloud compute keypairs get --keypair_name <keypair_name> [flags]

Get details of a specific keypair

Options

--keypair_name

stringrequired

Keypair name

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud compute keypairs get \
--keypair_name "my-resource"

Output

NAME my-keypair
CRN crn:spo1:compute:keypair:my-keypair
PUBLIC_KEY ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB...
FINGERPRINT 2e:f8:7e:a7:d9:85:c6:c9:44:89:6a:4c:56:7e:98:42
TYPE ssh
USER_ID 550e8400-e29b-41d4-a716-446655440000
CREATED_AT 2024-01-15T10:30:00Z