# S3 output problem: server side encryption

**URL:** <https://discuss.elastic.co/t/s3-output-problem-server-side-encryption/78348>\
**Category:** Logstash\
**Created:** [March 13, 2017, 1:47pm UTC](https://discuss.elastic.co/t/s3-output-problem-server-side-encryption/78348 "2017-03-13T13:47:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vittorio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vittorio/32/18171_2.png) [@Vittorio](https://discuss.elastic.co/u/Vittorio)\
**Post date:** [March 13, 2017, 1:47pm UTC](https://discuss.elastic.co/t/s3-output-problem-server-side-encryption/78348/1 "2017-03-13T13:47:52Z")

</div>

Hi all,

I'm sure my question was already answered but I didn't find anything here ...

I'm using s3 output and what I do not understand is the encrypting part...

I specify `server_side_encryption = true`, `server_side_encryption_algorithm => "AES256"`

everything works but when i use `s3cmd get` to see how the file looks like is not crypted at all...

If i do `aws:kms` and `ssekms_key_id => "my_key"` the result is still the same, I get the files clearly not crypted...

Am i missing something? and Where should i specify the key for AES256?

thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 10, 2017, 1:48pm UTC](https://discuss.elastic.co/t/s3-output-problem-server-side-encryption/78348/2 "2017-04-10T13:48:06Z")

</div>

Closed on April 10, 2017, 1:48pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
