View Source GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey (google_api_health_care v0.50.1)

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).

Attributes

  • cryptoKey (type: String.t, default: nil) - Required. The resource name of the KMS CryptoKey to use for unwrapping. For example, projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}.
  • wrappedKey (type: String.t, default: nil) - Required. The wrapped data crypto key.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey{
  cryptoKey: String.t() | nil,
  wrappedKey: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.