Learning center

Follow an encrypted S3 object read to a KMS denial

When an S3 request reaches a KMS decrypt denial, confirm the object's encryption key and the KMS request context before changing S3 permissions.

In an illustrative archive, a report role can get objects under daily/. Objects encrypted with the old key are readable, while an object written with a new key fails. An authorized S3 metadata reader can inspect the object's SSEKMSKeyId using HeadObject without requesting checksum mode. Correlate the failed S3 read with available KMS audit evidence by time, caller and key. Compare the new key's policy, grants and applicable caller permissions. This uses metadata and audit records without retrieving the object body. Amazon S3 SSE-KMS permissions · HeadObject checksum-mode requirements · KMS CloudTrail logging

Ask the key owner to evaluate the intended encryption context and service conditions for the specific read. A KMS event with another key or unrelated caller does not establish the cause of this S3 error.

Trace another denied request.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading