Skip to main content
GET
/
project
/
{project_id}
/
ssh-public-key
/
{ssh_public_key_reference}
Get a specific SSH public key
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/ssh-public-key/{ssh_public_key_reference} \
  --header 'Authorization: Bearer <token>'
{
  "id": "skaz0q3vbrpa7pkg7zbmah9csn",
  "name": "<string>",
  "public_key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

ssh_public_key_reference
string
required

SSH public key ID or name

Response

An SSH Public Key

id
string
required

ID of the SSH public key

Example:

"skaz0q3vbrpa7pkg7zbmah9csn"

name
string
required

Name of the SSH public key

public_key
string

SSH public key data

I