Encrypt file via KMS
kms_encrypt_file(key, file)
key | the KMS customer master key identifier as a fully specified Amazon Resource Name (eg |
---|---|
file | file path |
two files created with enc
(encrypted data) and key
(encrypted key) extensions