Demo for Well Architected Sydney meetup on August 14, 2025.
This project demonstrates encrypted data storage and querying with CipherStash Protect.js and Amazon DynamoDB.
- Node.js
- AWS credentials configured for DynamoDB access
- CipherStash account
npm installRun the complete demo pipeline:
SETUP=true npm run devThis will:
- Set up DynamoDB tables (if
SETUPenvironment variable is set) - Insert encrypted user data into the database
- Run query examples
Setup DynamoDB tables:
npm run setupInsert encrypted user data:
npm run insertQuery encrypted data:
npm run queryQuery with specific email:
node index.js alice@example.comFormat code:
npm run format- Encrypting user data with CipherStash Protect
- Storing encrypted data in DynamoDB
- Querying encrypted data while maintaining searchability
- Decrypting results for application use
MIT