This package provides credential storage for the Bedrock framework using MongoDB. Current stable version is 3.3.2. It is a core module in the Bedrock ecosystem for managing verifiable credentials with MongoDB as the backend. It depends on bedrock, bedrock-permission, and bedrock-mongodb. Alternatives exist for other databases, but this is the standard for MongoDB integration with Bedrock. Release cadence is tied to Bedrock updates, with breaking changes handled through peer dependency ranges.
npm install bedrock-credentials-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic operations: insert, get, and count credentials using CommonJS require and callback style.
Ensure bedrock version matches the peer dependency requirement exactly.
Lock bedrock-mongodb to a specific version that works with your deployment.
Always check the error parameter in callbacks.
Ensure the actor is authorized via bedrock-permission before calling store methods.
Run 'npm install bedrock-credentials-mongodb' and ensure package.json includes it.
Use 'const store = require('bedrock-credentials-mongodb');' and then 'store.insert(...)'.Install peer dependencies: 'npm install bedrock bedrock-permission bedrock-mongodb'.