R/kms.R
kms_generate_data_key.Rd
Generate a data encryption key for envelope encryption via KMS
kms_generate_data_key(key, bytes = 64L)
key | the KMS customer master key identifier as a fully specified Amazon Resource Name (eg |
---|---|
bytes | the required length of the data encryption key in bytes (so provide eg |
list
of the Base64-encoded encrypted version of the data encryption key (to be stored on disk), the raw
object of the encryption key and the KMS customer master key used to generate this object