Get key details
POST https://daas.digicert.com/apicontroller/v1/key/getKeyDetails
Use this endpoint to get information about an SSH key.
Example requests and responses
Request parameters
Name | Req/Opt | Type | Description |
---|---|---|---|
ip | required | string | IP address related to the key. |
port | required | integer | Default SSH enabled port . Default value : |
accountId | required | string | Account ID. |
divisionId | required | integer | Division ID. |
keyName | required | string | Name of the key. |
scanName | required | string | Name of the scan. |
Response parameters
Name | Type | Description |
---|---|---|
error | object | Includes the error code, if any. |
data | object | Object container for response. |
.. securityLevel | string | Security status of the key. Possible values: |
.. ip | string | IP address related to the key. |
.. port | integer | Most SSH configurations use the default port 22. |
.. type | string | Type of the key. Possible values: |
.. supportedAuthMethods | array | List of methods configured on your server for authenticating the SSH key. Possible values: |
.. algorithm | string | Hashing algorithm and keysize (or length) in bits of the SSH key. Possible values: |
… protocol | string | Protocol used to set up an encrypted connection between the systems to communicate over the internet. Possible values: |
.. duplicates | boolean | If |
.. rotationElapsed | boolean | If |
.. firstDiscovered | integer | Timestamp for when the key was first discovered. Format: epoch in millisecond. Epoch corresponds to 0 hours, 0 minutes, and 0 seconds (00:00:00) Coordinated Universal Time (UTC) on a specific date, which varies from system to system. Example: |
.. createdDate | integer | Date and time when the key was created. Format: epoch in millisecond. Example: |
.. filePath | string | File path of the key. Values are comma-separated. |
.. isRootKey | boolean | Whether it is a root key. |
.. isOrphanKey | boolean | Whether it is an orphan key. A key is orphaned when it cannot be used further because the pair is no longer on the server. |
.. source | string | The source used to identify the key. Possible values: |
.. lastDiscovered | integer | Date the key was last found by CertCentral Discovery scan. |
.. serverHost | string | Server host associated with the key. |
.. isProtectedKey | boolean | Whether it is a protected key. |