This endpoint may only be used by administrators.
/sshKey
The /sshKey resource.
Methods
GET
Gets a list of SSH keys from the tns user's 'authorized_hosts' file
Request Query Parameters
None
Example Response
POST
Adds an SSH key (in the correct format) to the tns user's 'authorized_hosts' file. Optionally, assign/override the 'comment' portion of the entry.
Request Parameters
Example Response
DELETE
Deletes the SSH Key associated with {hash}, depending on access and permissions.
Request Parameters
Example Response
/sshKey/download
Methods
GET
/sshKey/installRemoteKey
Methods
POST
Installs the Public SSH key for Tenable.sc on to the specified, remote host.
Request Parameters
Example Response