Skip to main content
client.kms().encryption().encrypt() encrypts data with an encryption key in a KMS project.

Parameters

KmsEncryptDataOptions
required

Returns

string
The encrypted data, which decrypt takes.