1.0.0 • Published 4 years ago

dynamodb-sqrl-store v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

DynamoDb-SQRL-Store

License

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

License

MIT