Credential HUB – a self-hosted credential layer for automation tools
Hi everyone,
I’ve been working on an open-source project called Credential HUB that grew out of a problem I kept running into with automation setups:
Credentials tend to become tied to individual applications.
API keys, OAuth credentials and tokens may be stored in Node-RED, another automation platform, an AI tool, configuration files, or several of them at the same time. Once an environment grows, it becomes increasingly difficult to see which credentials exist, where they are used, and how their lifecycle is managed.
Credential HUB takes a different approach.
Instead of trying to replace the credential handling built into Node-RED or other applications, it provides a separate, self-hosted credential lifecycle and runtime access layer.
The basic idea is:
Provider → Credential HUB → authorized consumer
Credentials are managed centrally in the HUB. Consumers don't need direct administrative access to the stored credential. They can be granted access to the credential they need, while the HUB controls what is exposed at runtime.
This also means the same credential-management layer can sit alongside different tools instead of rebuilding the same credential setup separately in each application.
The project currently covers things such as:
-
API tokens and OAuth-based credentials
-
encrypted credential storage
-
credential lifecycle/status management
-
controlled consumer access
-
deny-by-default credential resolution
-
import/export for administration and backup
-
a web UI for managing credentials and access
An important distinction is that Credential HUB is not intended to replace a general-purpose secrets manager such as Vault. Its focus is narrower: credentials used by applications, integrations and automation workflows, including their lifecycle and controlled runtime use.
For Node-RED specifically, I'm interested in whether this separation is actually useful in real-world installations.
For example, if you run several Node-RED instances, use Node-RED together with other automation/AI tools, or maintain integrations for different services, would having the credentials managed outside the individual applications solve a problem for you?
Or does Node-RED's existing credential handling already cover this well enough in practice?
The project is open source and self-hosted:
I'd particularly appreciate feedback from people running larger or long-lived Node-RED installations. I'm interested in understanding where this model helps — and where it doesn't.
Thanks and regards
Luis
