You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for KMS Attestation when running inside Nitro Enclave #513
We're running code inside Nitro Enclaves that needs to encrypt and decrypt very sensitive data, and would like to use the Encryption SDK. To make sure that KMS only services signed code running inside the Enclave, we use attestation rules as described in https://docs.aws.amazon.com/enclaves/latest/user/set-up-attestation.html
From what we can see the AWS Encryption SDK does not support attestation yet, so KMS requests will fail when running inside the Enclave, even if the vsock-proxy is configured to forward KMS requests.
Now EC2 Instance Attestation exists, the use case for using this is much broader. Any instance can be run as an isolated compute environment, ensuring security of data and applications. An example use case I have is creating an AMI that holds my application code in an encrypted state, and I can then share this with other consumers. I either need to manually do Envelope Encryption, and then think about key commitment and signing, or I would love to use the AWS Encryption SDK to handle this for me with the attestation capability built in.
Activity
ajewellamz commentedon Sep 16, 2022
Thank you for reaching out.
While supporting attestations in the AWS Encryption SDK is a good enhancement feature, it’s currently not on our roadmap.”
fortygigserver commentedon Feb 11, 2026
Now EC2 Instance Attestation exists, the use case for using this is much broader. Any instance can be run as an isolated compute environment, ensuring security of data and applications. An example use case I have is creating an AMI that holds my application code in an encrypted state, and I can then share this with other consumers. I either need to manually do Envelope Encryption, and then think about key commitment and signing, or I would love to use the AWS Encryption SDK to handle this for me with the attestation capability built in.