dynamodb-sqrl-store
v1.0.0
Published
Data store for SQRL using DynamoDb
Downloads
2
Maintainers
Readme
DynamoDb-SQRL-Store
A SQRL store for DynamoDb
Installation
$ npm install dynamodb-sqrl-store
Usage
const DynamoDbSqrlStore = require('dynamodb-sqrl-store');
const store = new DynamoDbSqrlStore(tableName, awsConfig);
Resources
Need a table to store the users, sqrl identities, and nuts.
DynamoDbTable:
Type: AWS::DynamoDB::Table
DeletionPolicy: Retain
Properties:
TableName: sqrl
AttributeDefinitions:
- AttributeName: pk
AttributeType: S
KeySchema:
- AttributeName: pk
KeyType: HASH
BillingMode: PAY_PER_REQUEST