Module Values_5.GetInstanceTpmEkPubRequestSource

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

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

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

    *)
  2. keyType : Values_3.EkPubKeyType.t;
    (*

    The required public endorsement key type.

    *)
  3. keyFormat : Values_3.EkPubKeyFormat.t;
    (*

    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.

    *)
  4. dryRun : Values_0.Boolean.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> instanceId:Values_0.InstanceId.t -> keyType:Values_3.EkPubKeyType.t -> keyFormat:Values_3.EkPubKeyFormat.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `String of Values_0.InstanceId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t