The octapass command-line tool (preview)
octapass is a native Rust binary in apps/cli, on the same core and sync code as the desktop app. Everything is decrypted on your computer, and an encrypted copy of your vault lets it read items offline.
octapass login,unlock,lock,logoutandstatus. Unlocking keeps a random session key in the OS keyring (macOS Keychain, Windows Credential Manager, the Secret Service on Linux) and locks again after 30 minutes without a command. The master password is never stored.octapass list,get,totpandgenerate. Secrets are printed only when you ask for them, with a warning when that’s in a terminal.octapass read octapass://Personal/Postgres/passwordandoctapass run --env-file .env.octapass -- npm start, which hands secrets to the command and nothing else.octapass importfor the same browser, Bitwarden, 1Password, LastPass, CSV and authenticator files as the web vault, andoctapass export --format json|csv, which asks for your master password again.--json,--password-stdinand stable exit codes for scripts.
There are no released builds yet: install it with cargo install --path apps/cli. See the CLI docs.