Skip to main content
GET
List SSH key credentials

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Response

SSH key credentials retrieved successfully

available
boolean
required
created_at
string<date-time>
required
id
string<uuid>
required
name
string
required
organisation_id
string<uuid4>
required
provider
string
required
system
boolean
required
updated_at
string<date-time>
required
check
object

Explicit check coverage and latest probe evidence. Local checks validate key format only; automatic probes normally run every five minutes with failure backoff. Manual results are historical observations. Resource availability is not verification.

account_login
string | null
account_type
string | null
co_tenant_count
integer | null
health
CredentialHealthSummary · object | null
installation_id
integer | null
last_synced_at
string<date-time> | null
display_name
string | null
repository_count
integer | null
repository_selection
string | null
state
string | null
syncing
boolean
default:false
managed
boolean

Set on Ankra Cloud credentials only: true for the built-in credential the platform mints and renews (deleting or rotating it answers 409), false for a pasted one.

detail
string

Set when the credential cannot be used as listed and the operator can repair it - a Cloudflare credential whose token is missing from the secret store (state 'needs-reconnect'): the reconnect command.

ssh_public_key
string

Set on ssh-key credentials only: the stored OpenSSH public key. It is the public half of the pair, so it is listed on the same footing as the name.

fingerprint
string | null

Set on ssh-key credentials only: the OpenSSH SHA256 fingerprint of the stored public key, in the form ssh-keygen -l prints (SHA256: followed by the unpadded base64 digest). Null when the stored value is not a readable key; fingerprint_error then says why.

key_type
string | null

Set on ssh-key credentials only: the key algorithm the public key declares, such as ssh-ed25519 or ssh-rsa. Null when the stored value is not a readable key.

comment
string | null

Set on ssh-key credentials only: the comment after the key material, an empty string when the key has none. Null when the stored value is not a readable key.

fingerprint_error
string | null

Set on ssh-key credentials only: why the stored value could not be read as an OpenSSH public key, and null when it could. A non-null value means the fingerprint is unknown, not that the credential holds no key.

api_url
string

Set on proxmox and morpheus credentials only: the API URL the credential connects to. A connection setting, never a secret. Absent when the stored settings could not be read.

project_id
string

Set on ovh and scaleway credentials only: the cloud provider's project the credential is bound to (not an Ankra project). Absent when the stored settings could not be read.

region
string

Set on aws credentials only: the region the credential was created for. Absent when the stored settings could not be read.

endpoint
string

Set on ankracloud credentials only: the Ankra Cloud API endpoint the credential connects to.

tls_insecure
boolean

Set on proxmox and morpheus credentials only: whether the credential skips TLS verification of the API. Absent when the stored settings could not be read.