Support uploading cache to AWS S3 bucket with encrypted objects policy enabled
Proposal
Add support to the runner to enable users to use an AWS KMS key and set the send the right encryption headers to upload cached files to an AWS S3 bucket with a policy enabled that denys upload requests without the right encryption setting on AWS KMS key.
https://aws.amazon.com/premiumsupport/knowledge-center/s3-bucket-store-kms-encrypted-objects/
Previous issue description
I would like to have my gitlab-ci caches to be encrypted by Amazon's built in server-side encryption:
However, the runner doesn't have the options to configure this.
Edited by Darren Eastman