Find SSH Key REST API

Find SSH Key REST API

Use the Find SSH Key REST API to find an Informatica Managed File Transfer SSH Key according to an identification number. This API uses the GET method.
Use the following URL for the REST API call:
GET http://<hostName>:<portNumber>/informaticamft/api/v1/sshkeys/{id}
  • <hostName>
    is the host name or IP address of the Managed File Transfer server.
  • <portNumber>
    is the port number of the Managed File Transfer server. The default port for HTTP is 8000 and the default port for HTTPS is 8002, for example,
    http://myserver:8000
    or
    https://myserver:8002
    .
The following table describes the variable:
Object
Arguments
id
Specify the SSH Key database identification number.
The following table describes the response body objects:
Object
Arguments
id
The identifying number of the key.
name
The name of the key.
privateKey
Identifies if the object is a private key.
algorithm
Identifies the encryption algorithm.
size
The size of the key.
fingerprint
The fingerprint of the key.
comments
Comment describing the key.
privateKeyPassword
The password for the key.
createdBy
Identifies the creator of the key.
keyBytes
The actual bytes that the key consists of.

Response Body Examples

The following code shows a response body:
{ "id":1011, "name":"sshkey", "privateKey":true, "algorithm":"R", "size":1024, "fingerprint":"28:04:E7:76:05:EA:64:CD:F3:88:E3:35:04:A2:21:AF", "comments":"", "privateKeyPassword":"Admin@123", "createdBy":"sys", "createdOn":1487593778633, "keyBytes":"LS0tLS1CRUdJTiBZBVEUgS0VZLS0tLS0NCg==" }

0 COMMENTS

We’d like to hear from you!