@skybin-tech/keysentry-node
v1.0.0
Published
KeySentry Node.js SDK for dynamic configuration and secrets
Maintainers
Readme
@skybin-tech/keysentry-node
KeySentry Node.js SDK for dynamic configuration and secrets.
npm install @skybin-tech/keysentry-nodeimport { KeySentry } from "@skybin-tech/keysentry-node";
const keysentry = new KeySentry({
endpoint: process.env.KEYSENTRY_ENDPOINT!,
privateKeyPem: process.env.KEYSENTRY_PRIVATE_KEY // required for zero-knowledge projects
});
const config = await keysentry.load({
context: { environment: "production", application: "my-app" }
});
const dbUrl = config.get("DATABASE_URL");For Next.js server-only usage, prefer @skybin-tech/keysentry-nextjs.
Docs
https://github.com/skybin-ventures/KeySentry/blob/main/docs/SDK.md
