Skip to content

/AWS1/CL_EC2=>GETINSTANCETPMEKPUB()

About GetInstanceTpmEkPub

Gets the public endorsement key associated with the Nitro Trusted Platform Module (NitroTPM) for the specified instance.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEID TYPE /AWS1/EC2INSTANCEID /AWS1/EC2INSTANCEID

The ID of the instance for which to get the public endorsement key.

IV_KEYTYPE TYPE /AWS1/EC2EKPUBKEYTYPE /AWS1/EC2EKPUBKEYTYPE

The required public endorsement key type.

IV_KEYFORMAT TYPE /AWS1/EC2EKPUBKEYFORMAT /AWS1/EC2EKPUBKEYFORMAT

The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation. Otherwise, the response is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETINSTTPMEKPUBRS /AWS1/CL_EC2GETINSTTPMEKPUBRS