kms_encrypt_file: Encrypt file via KMS

View source: R/kms.R

kms_encrypt_fileR Documentation

Encrypt file via KMS

Description

Encrypt file via KMS

Usage

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

See Also

kms_encrypt kms_decrypt_file


daroczig/botor documentation built on March 15, 2023, 12:23 p.m.