SSH Keys

Retrieve a list of all SSH keys. Optionally include public key data.

get/v1/ssh-keys

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/ssh-keys
  • Auth
    HTTP bearer

Query parameters

includePublicKeyboolean

Include public key data in the response

Response

SSH keys retrieved successfully

idinteger

SSH key ID

namestring

SSH key name

publicKeystring

Public key in OpenSSH format (included in details and when includePublicKey=true)

Changes