npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

plugin-hashicorp-vault-integration

v1.0.0

Published

Map HashiCorp Vault secrets to NocoBase variables ({{$vault.KEY}}) with optional $env sync.

Readme

plugin-hashicorp-vault-integration

Integrates HashiCorp Vault with NocoBase. Maps Vault KV secrets to NocoBase variables usable as {{$vault.KEY}} in the variable picker (v1 and v2 clients), with optional push into app.environment so secrets are also available as {{$env.KEY}} in workflows, custom requests, and data sources.

Features

  • Connections: manage multiple Vault servers (address, namespace, KV mount, KV v1/v2).
  • Auth methods: Token and AppRole (role_id + secret_id). Credentials are AES-encrypted at rest and masked (••••••••) in API responses.
  • Secret mappings: map mount/path#key to a variable key. Secrets are never stored in the database — they live in an in-memory cache populated by a periodic sync.
  • {{$vault.KEY}}: registered on both the legacy v1 variable picker and the v2 flow-engine context. Only mappings with exposeToClient enabled resolve for clients (default: off).
  • $env sync: mappings with syncToEnv enabled are pushed to app.environment.setVariable(key, value) on each sync tick.
  • Cron sync: every 5 minutes by default; override with VAULT_SYNC_CRON (6-field cron). Manual "Sync now" available in settings.

Settings

Admin settings live under Settings → HashiCorp Vault with two tabs:

  • Connections — CRUD + "Test connection" (/v1/sys/health).
  • Secret Mappings — CRUD + "Sync now", last sync time and last error per mapping.

ACL

  • vault:resolve, vault:listKeys — any logged-in user (only exposeToClient mappings are visible/resolvable).
  • vaultConnections:*, vaultSecretMappings:*, vault:syncNow — admin snippet pm.plugin-hashicorp-vault-integration.

Operational constraints

  • AppRole: the plugin re-logins when the client token expires. It does not renew secret_id; single-use or short-TTL secret_ids will eventually fail — use a long-lived secret_id or Token auth.
  • Multi-node: each node runs its own sync cron (Vault reads are idempotent). Mapping changes broadcast a cache-invalidation message to other nodes; secret values are never sent over the sync bus.