Skip to content

tappleby/envelope_encryption

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

envelop_encryption demo

A basic demo toy to show KMS envelope encryption concepts. Not ready for production. Use at your own risk.

Concepts

  • CMK: Customer Master Key - (AWS Concept): represented by a ARN value
  • TMK: Tenant Master Key - (implementation concept): represents the per customer key
  • TDK: Tenant Data Key - (implementation concept): represents the per customer data item

Demo

NB: Requires KMS ARN to be the specified environment var CMKID

export CMKID=arn:aws:kms:{yourregion}:{youraccount}:key/{yourkeyId}
npm run demo

Tests

npm test

About

envelope encryption examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%