A Command Line tool for OTP.
Stateless. Scriptable. Storage agnostic.
npm install -g otplib-cli Using an encrypted .env file (symmetric key) for storage.
otplib uses standard stdin / stdout, allowing the ability to pipe to and from other tools.
Bring your own encrypted storage (eg Vault, Secrets Manager etc), as long as it can encrypt to or decrypt from the expected JSON schema.
otplibx provides a simple symmetric key (using AES-256-GCM) encrypted .env flat file system with no external dependencies.
Check out the full documentation for detailed usage, architecture, and integration guides.
Read the Docs