OS Manuals

/usr/bin/yopass

Secure sharing of secrets, passwords and files

From yopass 16.1.0-r0 (enterprise-packages), captured 2026-11-09 by running yopass --help (exit 0). permalink

Yopass - Secure sharing for secrets, passwords and files

Flags:
      --api string              Yopass API server location (default "https://api.yopass.se")
      --api-token string        API token for server authentication
      --decrypt string          Decrypt secret URL
      --expiration string       Duration after which secret will be deleted (e.g. 1h, 1d, 1w, 90d; custom durations require server support) (default "1h")
      --file string             Read secret from file instead of stdin
      --key string              Manual encryption/decryption key
      --one-time[=true|false]   One-time download (default true)
      --url string              Yopass public URL (default "https://yopass.se")

Settings are read from flags, environment variables, or a config file located at
~/.config/yopass/defaults.<json,toml,yml,hcl,ini,...> in this order. Environment
variables have to be prefixed with YOPASS_ and dashes become underscores.

Examples:
      # Encrypt and share secret from stdin
      printf 'secret message' | yopass

      # Encrypt and share secret file
      yopass --file /path/to/secret.conf

      # Share secret multiple time a whole day
      cat secret-notes.md | yopass --expiration=1d --one-time=false

      # Decrypt secret to stdout
      yopass --decrypt https://yopass.se/#/...

Website: https://yopass.se
Options (8)
OptionDescriptionSource
--api stringYopass API server location (default "https://api.yopass.se")help
--api-token stringAPI token for server authenticationhelp
--decrypt stringDecrypt secret URLhelp
--expiration stringDuration after which secret will be deleted (e.g. 1h, 1d, 1w, 90d;help
--file stringRead secret from file instead of stdinhelp
--key stringManual encryption/decryption keyhelp
--one-time true|falseOne-time download (default true)help
--url stringYopass public URL (default "https://yopass.se")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.