Encrypt plain text via KMS
kms_encrypt(key, text, simplify = TRUE)
the KMS customer master key identifier as a fully
specified Amazon Resource Name (eg
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
)
or an alias with the alias/
prefix (eg
alias/foobar
)
max 4096 bytes long string, eg an RSA key, a database password, or other sensitive customer information
returns Base64-encoded text instead of raw list
string or list