Skip to main content

List SSH authorized keys

GET 

/node/:hostname/user/:name/ssh-key

List SSH authorized keys for a user on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

    name stringrequired

    Possible values: non-empty

    User account name.

Responses

List of SSH authorized keys.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    keys

    object[]

    SSH authorized keys on this agent.

  • Array [

  • type string

    Key type (e.g., ssh-rsa, ssh-ed25519).

    fingerprint string

    SHA256 fingerprint of the key.

    comment string

    Key comment (typically user@host).

  • ]

  • error string

    Error message if the agent failed.

  • ]

Loading...