SSH Key

SSH Keypairs

Read more

get-ssh-key

Retrieve SSH key details

GET /ssh-key/{name}

Path parameters

  • name in path (required)

Responses

  • 200: 200
    • application/json
      • name (string): SSH key name
      • fingerprint (string): SSH key fingerprint

SDK reference for get-ssh-key: golang | Python | Java

CLI: exo api get-ssh-key

delete-ssh-key

Delete a SSH key

DELETE /ssh-key/{name}

Path parameters

  • name in path (required)

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (string): Operation status

SDK reference for delete-ssh-key: golang | Python | Java

CLI: exo api delete-ssh-key


Other Operations

register-ssh-key

Import SSH key

POST /ssh-key

Request body

  • application/json
    • name (required) (string): SSH key name
    • public-key (required) (string): Public key value

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (string): Operation status

SDK reference for register-ssh-key: golang | Python | Java

CLI: exo api register-ssh-key

list-ssh-keys

List SSH keys

GET /ssh-key

Responses

SDK reference for list-ssh-keys: golang | Python | Java

CLI: exo api list-ssh-keys

Last updated on