Skip to content

fnox ​

Version: 1.43.0

  • Usage: fnox [FLAGS] <SUBCOMMAND>

Load secrets from encrypted files, password managers, and cloud secret stores

fnox reads fnox.toml from the current directory and its parents, resolves each secret through the provider it names, and hands the values to your shell or to the command you run.

Commands by task:

Put fnox options before the -- that starts a child command, as in fnox -P prod exec -- npm start. Everything after -- belongs to the child command.

Global Flags ​

  • -c --config <CONFIG> — Config file to load

    The bare names fnox.toml, .fnox.toml, fnox.local.toml, and .fnox.local.toml search the current directory and its parents. Any other path, such as ./fnox.toml, loads only that file, its imports, and the global config.

    Default: fnox.toml

  • -P --profile <PROFILE> — Profile to use; repeat or comma-separate to layer several

    Later profiles override earlier ones. Defaults to FNOX_PROFILE, then default.

  • -v --verbose — Print debug logs to stderr

  • --if-missing <IF_MISSING> — Override if_missing for every secret: error, warn, or ignore

    Takes precedence over FNOX_IF_MISSING and every if_missing value in the config.

  • --no-color — Disable colored output

  • --no-daemon — Resolve secrets directly instead of through the daemon

  • --no-defaults — Use only the selected profile's secrets, without top-level [secrets]

  • --non-interactive — Never prompt or open a browser; use only cached or non-interactive auth

    Environment Variable: FNOX_NON_INTERACTIVE

  • --write-profile <WRITE_PROFILE> — Profile that write commands modify when several profiles are active

    Applies to set, remove, import, sync, and provider add|remove. Required when more than one profile is active; otherwise defaults to the active profile.

Flags ​

  • -h --help — Print help
  • -V --version — Print version

Subcommands ​

Configuration ​

Examples ​

Create a config in the current directory

sh
fnox init

Store a secret (prompts for the value)

sh
fnox set DATABASE_URL

Run a command with secrets in its environment

sh
fnox exec -- npm start

List the secrets in another profile

sh
fnox -P staging list

See also ​

MIT LicenseCopyright © 2026jdx.dev