
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
brightspace-auth-keys-dynamodb-store
Advanced tools
DynamoDB based public key store implementation for brightspace-auth-keys
DynamoDB based public key store implementation for brightspace-auth-keys.
npm install brightspace-auth-keys brightspace-auth-keys-dynamodb-store --save
const KeyGenerator = require('brightspace-auth-keys').KeyGenerator;
const AWS = require('aws-sdk');
const DynamoDbPublicKeyStore = require('brightspace-auth-keys-dynamodb-store');
const db = new AWS.DynamoDB();
const tableName = 'auth_public_keys';
module.exports = new KeyGenerator({
publicKeyStore: new DynamoDbPublicKeyStore(
db,
tableName
),
// see brightspace-auth-keys for the full set of options
});
For convenience the DynamoDB table can automatically be created in code, doing nothing if the table already exists so that it can be added to initialization code. It will be created with the TTL for the rows set on the ExpiresAt column.
const AWS = require('aws-sdk');
const DynamoDbPublicKeyStore = require('brightspace-auth-keys-dynamodb-store');
const db = new AWS.DynamoDB();
const tableName = 'auth_public_keys';
const readCapacity = 20; /* optional, default 5 */
const writeCapacity = 10; /* optional, default 5 */
DynamoDbPublicKeyStore.createTable(db, tableName, readCapacity, writeCapacity);
FAQs
DynamoDB based public key store implementation for brightspace-auth-keys
The npm package brightspace-auth-keys-dynamodb-store receives a total of 20 weekly downloads. As such, brightspace-auth-keys-dynamodb-store popularity was classified as not popular.
We found that brightspace-auth-keys-dynamodb-store demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.