kms_encrypt_file(key, file)
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
)
- file
file path
Value
two files created with enc
(encrypted data) and
key
(encrypted key) extensions