CryptoHashConfigArgs

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

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).

Constructors

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

Functions

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

Properties

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

An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither crypto_key nor kms_wrapped is specified. Must not be set if kms_wrapped is set.

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

KMS wrapped key. Must not be set if crypto_key is set.