dynamodb-sqrl-store

Data store for SQRL using DynamoDb

Usage no npm install needed!

<script type="module">
  import dynamodbSqrlStore from 'https://cdn.skypack.dev/dynamodb-sqrl-store';
</script>

README

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