aws.s3 icon indicating copy to clipboard operation
aws.s3 copied to clipboard

How can I pass a kms-key to opts in s3write_using?

Open pabuta88 opened this issue 4 years ago • 2 comments

The question says it all. I cannot manage to pass my kms key to the opts list similar than using S3FileSystem in Python. Would it be possible to provide an example? I would highly appreciate that.

pabuta88 avatar Mar 11 '20 13:03 pabuta88

You should be able to pass kms with the opts argument.

s3write_using(df, FUN = readr::write_csv,
                  bucket = bucket,
                  object = object,
                  opts = list(headers = c("x-amz-server-side-encryption" = "aws:kms"))

matton2 avatar Jun 05 '20 16:06 matton2

Hi, how can I add a custom kms key for encryption?

Nicqu avatar Aug 25 '20 07:08 Nicqu