From cybersecurity-skills
Implements envelope encryption using AWS KMS GenerateDataKey API: encrypts data locally with a DEK while keeping the master key secure in KMS. Useful for encrypting large data volumes, reducing KMS API costs, and enabling offline decryption with cached keys.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills:implementing-envelope-encryption-with-aws-kmsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Envelope encryption is a strategy where data is encrypted with a data encryption key (DEK), and the DEK itself is encrypted with a master key (KEK) managed by AWS KMS. This approach allows encrypting large volumes of data locally while keeping the master key secure in a hardware security module (HSM) managed by AWS. This skill covers implementing envelope encryption using AWS KMS GenerateDataKe...
Envelope encryption is a strategy where data is encrypted with a data encryption key (DEK), and the DEK itself is encrypted with a master key (KEK) managed by AWS KMS. This approach allows encrypting large volumes of data locally while keeping the master key secure in a hardware security module (HSM) managed by AWS. This skill covers implementing envelope encryption using AWS KMS GenerateDataKey API.
kms:GenerateDataKey to get plaintext DEK + encrypted DEKkms:Decrypt on encrypted DEK, then decrypt data| Aspect | Direct KMS | Envelope Encryption |
|---|---|---|
| Max data size | 4 KB | Unlimited |
| Latency | Network round-trip per operation | Local encryption |
| Cost | $0.03/10,000 requests | Fewer KMS requests |
| Offline | Not possible | Yes (with cached DEKs) |
aws/s3, aws/ebs)npx claudepluginhub mukul975/anthropic-cybersecurity-skills --plugin cybersecurity-skillsImplements envelope encryption with AWS KMS using GenerateDataKey API to encrypt/decrypt data locally with a DEK wrapped by a master key in KMS. Covers key caching, rotation, multi-region setup, and reduced KMS API costs.
Implements envelope encryption with AWS KMS in Python: generate DEKs via GenerateDataKey, local AES-256-GCM encrypt/decrypt, key caching, rotation, multi-region support. For large data volumes and compliance.
Implements envelope encryption with AWS KMS in Python: generate DEKs, local AES-256-GCM encrypt/decrypt, key caching, rotation, and multi-region support.