Skip to content

/AWS1/CL_TRNDESCRIBEDHOSTKEY

The details for a server host key.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/TRNARN /AWS1/TRNARN

The unique Amazon Resource Name (ARN) for the host key.

Optional arguments:

iv_hostkeyid TYPE /AWS1/TRNHOSTKEYID /AWS1/TRNHOSTKEYID

A unique identifier for the host key.

iv_hostkeyfingerprint TYPE /AWS1/TRNHOSTKEYFINGERPRINT /AWS1/TRNHOSTKEYFINGERPRINT

The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.

iv_description TYPE /AWS1/TRNHOSTKEYDESCRIPTION /AWS1/TRNHOSTKEYDESCRIPTION

The text description for this host key.

iv_type TYPE /AWS1/TRNHOSTKEYTYPE /AWS1/TRNHOSTKEYTYPE

The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:

  • ssh-rsa

  • ssh-ed25519

  • ecdsa-sha2-nistp256

  • ecdsa-sha2-nistp384

  • ecdsa-sha2-nistp521

iv_dateimported TYPE /AWS1/TRNDATEIMPORTED /AWS1/TRNDATEIMPORTED

The date on which the host key was added to the server.

it_tags TYPE /AWS1/CL_TRNTAG=>TT_TAGS TT_TAGS

Key-value pairs that can be used to group and search for host keys.


Queryable Attributes

Arn

The unique Amazon Resource Name (ARN) for the host key.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

HostKeyId

A unique identifier for the host key.

Accessible with the following methods

Method Description
GET_HOSTKEYID() Getter for HOSTKEYID, with configurable default
ASK_HOSTKEYID() Getter for HOSTKEYID w/ exceptions if field has no value
HAS_HOSTKEYID() Determine if HOSTKEYID has a value

HostKeyFingerprint

The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.

Accessible with the following methods

Method Description
GET_HOSTKEYFINGERPRINT() Getter for HOSTKEYFINGERPRINT, with configurable default
ASK_HOSTKEYFINGERPRINT() Getter for HOSTKEYFINGERPRINT w/ exceptions if field has no
HAS_HOSTKEYFINGERPRINT() Determine if HOSTKEYFINGERPRINT has a value

Description

The text description for this host key.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

Type

The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:

  • ssh-rsa

  • ssh-ed25519

  • ecdsa-sha2-nistp256

  • ecdsa-sha2-nistp384

  • ecdsa-sha2-nistp521

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

DateImported

The date on which the host key was added to the server.

Accessible with the following methods

Method Description
GET_DATEIMPORTED() Getter for DATEIMPORTED, with configurable default
ASK_DATEIMPORTED() Getter for DATEIMPORTED w/ exceptions if field has no value
HAS_DATEIMPORTED() Determine if DATEIMPORTED has a value

Tags

Key-value pairs that can be used to group and search for host keys.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS has a value