List key pairs
Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/os-keypairs | Lists key pairs associated with the account. |
Normal response codes: 200
Request
This table shows the URI parameters for the list key pairs request:
Name | Type | Description |
---|---|---|
{tenant_id} | String | Project ID |
This operation does not require a request body.
Response
Example. List key pairs: JSON response
{
"keypairs": [
{
"keypair": {
"fingerprint":
"15:b0:f8:b3:f9:48:63:71:cf:7b:5b:38:6d:44:2d:4a",
"name": "keypair-601a2305-4f25-41ed-89c6-2a966fc8027a",
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC+Eo/RZRngaGTkFs7I62ZjsIlO79KklKbMXi8F+KITD4bVQHHn+kV+4gRgkgCRbdoDqoGfpaDFs877DYX9n4z6FrAIZ4PES8TNKhatifpn9NdQYWA+IkU8CuvlEKGuFpKRi/k7JLos/gHi2hy7QUwgtRvcefvD/vgQZOVw/mGR9Q== Generated byNova\n"
}
}
]
}