Encrypt plain text via KMS
kms_encrypt(key, text, simplify = TRUE)
key | the KMS customer master key identifier as a fully specified Amazon Resource Name (eg |
---|---|
text | max 4096 bytes long string, eg an RSA key, a database password, or other sensitive customer information |
simplify | returns Base64-encoded text instead of raw list |
string or list