Skip to main content

Node SOPS

Simple, secure secrets management for Node.js

Military-Grade Encryption

Protect your sensitive data with AES-256-CBC encryption, built on Node.js's native crypto module for maximum security.

Command-Line Interface

Simple CLI interface makes it easy to encrypt and decrypt configuration files directly from your terminal.

Programmatic API

Clean JavaScript/TypeScript API for seamless integration with your applications. Full TypeScript definitions included.

File Format Flexibility

Works seamlessly with YAML and JSON files. Store your configuration in the format that works best for your team and project.

Key Management

Flexible key management options support your specific security requirements with secure key rotation capabilities.

Simple Secrets Management for Node.js

Node SOPS brings the power and simplicity of Mozilla SOPS to the Node.js ecosystem, with a clean API and modern tooling designed specifically for JavaScript and TypeScript developers.

Quick Install

npm install node-sops

Or with Yarn:

yarn add node-sops

CLI Usage

Use Node SOPS from the command line to quickly encrypt and decrypt your configuration files.

Programmatic Usage

Integrate Node SOPS directly into your Node.js applications with the clean and intuitive API.