Skip to content

Get Instance Tpm Ek Pub

ec2_get_instance_tpm_ek_pub R Documentation

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

Description

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

Usage

ec2_get_instance_tpm_ek_pub(InstanceId, KeyType, KeyFormat, DryRun)

Arguments

InstanceId

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

KeyType

[required] The required public endorsement key type.

KeyFormat

[required] 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.

DryRun

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.

Value

A list with the following syntax:

list(
  InstanceId = "string",
  KeyType = "rsa-2048"|"ecc-sec-p384",
  KeyFormat = "der"|"tpmt",
  KeyValue = "string"
)

Request syntax

svc$get_instance_tpm_ek_pub(
  InstanceId = "string",
  KeyType = "rsa-2048"|"ecc-sec-p384",
  KeyFormat = "der"|"tpmt",
  DryRun = TRUE|FALSE
)