Skip to content

otplib-cli

A Command Line tool for OTP.
Stateless. Scriptable. Storage agnostic.

$npm install -g otplib-cli
otplibx - encrypted storage
$otplibx init

Using an encrypted .env file (symmetric key) for storage.

ARCHITECTURE

Stateless by Design

storagedecrypt
otplib (CLI)process
storageencrypt

Composable

otplib uses standard stdin / stdout, allowing the ability to pipe to and from other tools.

Storage-agnostic

Bring your own encrypted storage (eg Vault, Secrets Manager etc), as long as it can encrypt to or decrypt from the expected JSON schema.

Built-in Encryption

otplibx provides a simple symmetric key (using AES-256-GCM) encrypted .env flat file system with no external dependencies.

Ready to get started?

Check out the full documentation for detailed usage, architecture, and integration guides.

Read the Docs

Released under the MIT License.