Module Values_4.KeyPairSource

Describes a key pair.

Sourcetype nonrec t = {
  1. keyPairId : Values_0.String_.t option;
    (*

    The ID of the key pair.

    *)
  2. tags : Values_0.TagList.t option;
    (*

    Any tags applied to the key pair.

    *)
  3. keyName : Values_0.String_.t option;
    (*

    The name of the key pair.

    *)
  4. keyFingerprint : Values_0.String_.t option;
    (*

    For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key. For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

    *)
  5. keyMaterial : Values_0.SensitiveUserData.t option;
    (*

    An unencrypted PEM encoded RSA or ED25519 private key.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?keyPairId:??? -> ?tags:??? -> ?keyName:??? -> ?keyFingerprint:??? -> ?keyMaterial:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.String_.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