Request message for [KeyManagementService.Encrypt][google.cloud.kms.v1
.KeyManagementService.Encrypt].
.. attribute:: name
Required. The resource name of the
CryptoKey or
CryptoKeyVersion to
use for encryption. If a
CryptoKey is specified, the
server will use its [primary
version][google.cloud.kms.v1.CryptoKey.primary].
Optional. Optional data that, if specified, must also be
provided during decryption through [DecryptRequest.additional _authenticated_data][google.cloud.kms.v1.DecryptRequest.addit
ional_authenticated_data]. The maximum size depends on the
key version's [protection_level][google.cloud.kms.v1.CryptoKe
yVersionTemplate.protection_level]. For
SOFTWARE keys,
the AAD must be no larger than 64KiB. For
HSM keys, the
combined length of the plaintext and
additional_authenticated_data fields must be no larger than
8KiB.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]