Document store using Grove ORM with mongodriver for MongoDB.
The MongoDB store (store/mongo) provides a document-oriented backend using the Grove ORM with mongodriver. It maps Vault entities to 11 MongoDB collections with compound indexes for efficient tenant-scoped queries.
The store exports a Migrations group for use with Grove's migration orchestrator. This enables tracked, versioned migrations across all stores in your application:
import mongostore "github.com/xraph/vault/store/mongo"// mongostore.Migrations is a migrate.Group for the vault mongo store.// Register it with the grove migration orchestrator for coordinated migrations.