Need help understanding whether SSE-S3 uses an AWS Owned or AWS Managed key

,

I’m currently revising for my second attempt at SCS-C02 (got 737 in the last try :smiley: )

I’m having a lot of trouble with one point in particular, which is on the specifics of S3 encryption.

My initial understanding was that SSE-S3 would use AWS Owned keys which are located outside your account, you cannot audit their use, and you cannot set auto rotation on (they rotate but AWS decides when), then SEE-KMS would use either AWS Managed or Customer managed KMS keys, and SSE-C would use customer provided keys not stored or managed in AWS at all.

But reading some documentation I’m starting to question my understanding, I keep seeing seemingly conflicting information on whether SSE-S3 uses AWS owned or managed keys:

Within the actual S3 console page - “Server-side encryption with Amazon S3 managed keys (SSE-S3)”

Official documentation stating "Amazon S3 now applies server-side encryption with Amazon S3 managed keys (SSE-S3) " - https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html

Official documentation stating “If you used the AWS owned key, your data is encrypted using SSE-S3.” - https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html

I’m obviously missing something here, if anyone could help explain this to me I’d appreciate it a lot, thanks!


Related discussions:

It uses an AWS Managed Key.

A simple way you can see which services use AWS Managed keys by default is by going to KMS and going to AWS Managed Keys section. S3 is one of them.

AWS Managed are dedicated to your account only. You can see the resource policy also, just no edit access.

I believe DynamoDb is an example of a service that uses a AWS Owned Key, if I am not mistaken

Thanks for that.

If that’s the case then my follow-up question is what’s the difference between SSE-S3 and selecting the AWS managed “aws/s3” key under the SSE-KMS option, they would both be AWS Managed Keys right?

The short answer is its referencing the SAME key used when using SSE-S3.

The confusion comes up because the drop-down list ALL KMS keys, AWS and Customer keys in the account.

For more info, look here (starting step 11):

https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html

Thank you.

If they are both using the same key, another question then is I thought AWS KMS usage incurred a tiny fee, but SSE-S3 does not incur a fee at all, I’m confused how that’s possible if they use the same key.

On the Aws S3 pricing page under security and access control it also says SSE-S3 is free, but SSE-KMS charges to generate or receive the data key, so using the Aws/S3 key under SSE-KMS would cost money?

https://aws.amazon.com/s3/pricing/

The reason is because the kms/s3 is AWS’s kms key. So they won’t charge you if you use their key. However, if you create your own KMS key then they will charge you.

If you AWS’s kms key, then no charge (remember, it is the same key used implicitly when choosing SSE-S3 encryption OR explicitly selecting kms/s3 in the drop down when choosing SSSE-KMS).

If you use another key that is not aws/s3 one, then you will incur charge.

That’s strange, I guess in my mind there’s not really any point in SSE-KMS with AWS managed key existing then as I’d just go for SSE-S3.

I think that’s answered all my questions though, cheers for the responses!

Depends on the sensitivity of the data and business requirements.

In my experience, a business may want to have control of their data encryption due to security policies. One important aspect is with Customer KMS keys you can dictate WHO can access the key for encrypt/decrypt data and who can administer (manage, like key rotation) the key.