@zincapp/trust-config
v1.0.1
Published
Topology-agnostic config + secrets layer for the ZincApp Trust portal and its providers (vault-backed sources, cert watchdog).
Readme
@zincapp/trust-config
Topology-agnostic config + secrets layer for the ZincApp Trust portal and
its evidence providers. Three sources behind one API, selected per environment:
vault-http (dev), vault-agent-files (prod), in-memory (tests). Includes a
cert watchdog for mTLS material that reloads on rotation.
Install
npm i @zincapp/trust-configUsage
import { ConfigService } from '@zincapp/trust-config';
const config = await ConfigService.fromEnv();
const secret = await config.getSecret('ai/anthropic-api-key');Dual CJS + ESM, ships .d.ts. Part of the @zincapp/trust-* SDK.
