Module Values_2.IcebergEncryptedKeySource

Encryption key structure used for Iceberg table encryption. Contains the key ID, encrypted key metadata, optional reference to the encrypting key, and additional properties for the table's encryption scheme.

Sourcetype nonrec t = {
  1. keyId : Values_1.EncryptionKeyIdString.t;
    (*

    Unique identifier of the encryption key used for Iceberg table encryption. This ID is used to reference the key in table metadata and track which key was used to encrypt specific data.

    *)
  2. encryptedKeyMetadata : Values_1.EncryptedKeyMetadataString.t;
    (*

    Encrypted key and metadata, base64 encoded. The format of encrypted key metadata is determined by the table's encryption scheme and can be a wrapped format specific to the table's KMS provider.

    *)
  3. encryptedById : Values_1.EncryptionKeyIdString.t option;
    (*

    Optional ID of the key used to encrypt or wrap the key metadata in Iceberg table encryption. This field references another encryption key that was used to encrypt the current key's metadata.

    *)
  4. properties : Values_1.StringToStringMap.t option;
    (*

    A string to string map of additional metadata used by the table's encryption scheme. These properties provide additional context and configuration for the encryption key implementation.

    *)
}
Sourceval context_ : string
Sourceval make : ?encryptedById:??? -> ?properties:??? -> keyId:Values_1.EncryptionKeyIdString.t -> encryptedKeyMetadata:Values_1.EncryptedKeyMetadataString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of Values_0.NullableString.t ] * [> `String of Values_0.NullableString.t ]) list | `String of Values_1.EncryptionKeyIdString.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