KmsWrappedCryptoKeyArgs

data class KmsWrappedCryptoKeyArgs(val cryptoKey: Output<String>, val wrappedKey: Output<String>) : ConvertibleToJava<KmsWrappedCryptoKeyArgs>

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission cloudkms.cryptoKeyVersions.useToDecrypt to the project's Cloud Healthcare Service Agent service account. For more information, see Creating a wrapped key (https://cloud.google.com/dlp/docs/create-wrapped-key).

Constructors

Link copied to clipboard
constructor(cryptoKey: Output<String>, wrappedKey: Output<String>)

Properties

Link copied to clipboard
val cryptoKey: Output<String>

The resource name of the KMS CryptoKey to use for unwrapping. For example, projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}.

Link copied to clipboard
val wrappedKey: Output<String>

The wrapped data crypto key.

Functions

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