What problem does it solve?
Processing sensitive data like PII, PHI, or cryptographic keys on EC2 instances exposes it to anyone with root access on the parent instance. This Skill guides you through building AWS Nitro Enclave environments where data is decrypted and processed inside a hardware-isolated boundary that even instance administrators cannot access.
Core Features & Use Cases
- Enclave Image Building: Package workloads into signed Enclave Image Files (EIF) with nitro-cli and capture PCR measurements for attestation.
- Attestation-Based KMS Policies: Configure KMS key policies using PCR0/PCR8 condition keys so decryption only succeeds inside a verified enclave.
- Attestation Validation: Verify COSE-signed attestation documents against the AWS Nitro PKI root of trust, including certificate chain and nonce checks.
- Use Case: A healthcare SaaS company deploys a tokenization service inside a Nitro Enclave so patient records are decrypted only within the attested enclave, with CloudTrail proving every decrypt call carried attestation parameters.
Quick Start
Ask the assistant to walk you through setting up a Nitro Enclave on an m5.xlarge instance that decrypts a KMS-encrypted secret only when the enclave's PCR0 attestation matches the key policy.