KmsWrappedCryptoKeyResponse

data class KmsWrappedCryptoKeyResponse(val cryptoKey: String, val wrappedKey: String)

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
fun KmsWrappedCryptoKeyResponse(cryptoKey: String, wrappedKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

The wrapped data crypto key.