R: Encrypt plain text via KMS

kms_encrypt {botor} | R Documentation

## Encrypt plain text via KMS

### Description

Encrypt plain text via KMS

### Usage

    kms_encrypt(key, text, simplify = TRUE)

### Arguments

`key` | 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`)
`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

### Value

string or `list`

### See Also

`kms_decrypt`

[Package botor version 0.3.0 Index]