SDK Reference
Node.js SDK
The SDK loads secrets at runtime into process.env. Pair it with keydrop run for build-time injection.
Installation
$
npm install keydropUsage
ESM
CommonJS
init (options?)
Fetches and decrypts secrets from KeyDrop. Injects them into process.env. Call this before your server starts.
Options
Example
When to use the SDK
Use init() in production so secrets load when your app starts. Use keydrop run for local development and CI/CD builds.