DateShiftConfigArgs

data class DateShiftConfigArgs(val cryptoKey: Output<String>? = null, val kmsWrapped: Output<KmsWrappedCryptoKeyArgs>? = null) : ConvertibleToJava<DateShiftConfigArgs>

Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.

Constructors

Link copied to clipboard
fun DateShiftConfigArgs(cryptoKey: Output<String>? = null, kmsWrapped: Output<KmsWrappedCryptoKeyArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DateShiftConfigArgs

Properties

Link copied to clipboard
val cryptoKey: Output<String>? = null

An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If crypto_key is not set, then kms_wrapped is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if kms_wrapped is set.

Link copied to clipboard
val kmsWrapped: Output<KmsWrappedCryptoKeyArgs>? = null

KMS wrapped key. If kms_wrapped is not set, then crypto_key is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if crypto_key is set.