DynamoDB backend for acl
Last updated a year ago by alexeygrigoriev .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install acl-dynamodb 
SYNC missed versions from official npm registry.

NODE ACL - DynamoDB backend

This fork adds DynamoDB backend support to NODE ACL


BuildStatus Dependency Status devDependency Status


Using npm:

npm install acl-dynamodb


Download and install DynamoDB Local Start DynamoDB. See documentation for commandline arguments. Create DynamoDB database object in your node.js application. Create acl module and instantiate it with DynamoDB backend, passing the DynamoDB object into the backend instance.

var AWS = require('aws-sdk');
// Set local configuration. Note: keys and region can be arbitrary values but must be set
var db = new AWS.DynamoDB({
    endpoint: new AWS.Endpoint("http://localhost:8000"),
    accessKeyId: "myKeyId",
    secretAccessKey: "secretKey",
    region: "us-east-1",
    apiVersion: "2016-01-07"

// require acl and create DynamoDB backend
var Acl = require('acl');
var dynamodbBackend = require('acl-dynamodb');
// Doesn't set a 'prefix' for collections and separates buckets into multiple collections.
acl = new Acl(new dynamodbBackend(db));

// Alternatively, set a prefix and combined buckets into a single collection
acl = new Acl(new dynamodbBackend(db, 'acl_', true));


See NODE ACL documentation See AWS DynamoDB JS documentation See AWS DynamoDB documentation

Current Tags

  • 0.1.2                                ...           latest (a year ago)

3 Versions

  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (4)
Dependents (0)

Copyright 2014 - 2016 © |