jenkinsci / pipeline-aws-plugin

Jenkins Pipeline Step Plugin for AWS
https://plugins.jenkins.io/pipeline-aws/
Apache License 2.0
431 stars 201 forks source link

Add option for Client Side Encryption with KMSId #75

Open CharlesAbetz opened 6 years ago

CharlesAbetz commented 6 years ago

Hi

I am trying upload encrypted files using client side encryption.

Using the AWS CLI this would be achieved by sh /usr/local/bin/aws kms encrypt --key-id 0000-0000-0000-0000-0000000 --plaintext \"fileb://file.key\" --output text --query CiphertextBlob | base64 --decode > file.key.encrypted"

However to do the above requires shelling out to the local file system which is not ideal.

It would be awesome if this plugin could provide this functionality (I am aware that it provides server side encryption but that is not what I want).

hoegertn commented 6 years ago

Great idea. I will look into it.