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:
- Read and run: get, list, exec, env, export, check
- Store and migrate: set, remove, import, sync, reencrypt, edit
- Configure: init, provider, plugin, profiles, config-files
- Shell and tools: activate, deactivate, completion, tui, mcp
- Diagnose: doctor, scan
- Cache and broker: daemon, lease, proxy
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 loadThe bare names
fnox.toml,.fnox.toml,fnox.local.toml, and.fnox.local.tomlsearch 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 severalLater profiles override earlier ones. Defaults to
FNOX_PROFILE, thendefault.-v --verbose— Print debug logs to stderr--if-missing <IF_MISSING>— Overrideif_missingfor every secret:error,warn, orignoreTakes precedence over
FNOX_IF_MISSINGand everyif_missingvalue 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 authEnvironment Variable:
FNOX_NON_INTERACTIVE--write-profile <WRITE_PROFILE>— Profile that write commands modify when several profiles are activeApplies to
set,remove,import,sync, andprovider 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
fnox activate [--no-hook-env] [SHELL]fnox audit [FLAGS]fnox check [-a --all]fnox completion <SHELL>fnox config-filesfnox daemon <SUBCOMMAND>fnox daemon clear [KEYS]…fnox daemon startfnox daemon statusfnox daemon stopfnox deactivatefnox doctorfnox edit [KEY]fnox env [FLAGS]fnox exec [FLAGS] [COMMAND]…fnox export [FLAGS] [KEY]…fnox get [--base64-decode] [--refresh] <KEY>fnox import <FLAGS> [FORMAT]fnox init [FLAGS]fnox lease [SUBCOMMAND]fnox lease cleanupfnox lease create [FLAGS] [BACKEND_NAME]fnox lease list [FLAGS]fnox lease revoke [-a --all] [TARGET]fnox list [FLAGS]fnox mcpfnox plugin [SUBCOMMAND]fnox plugin install [-f --force] [NAME] [SOURCE]fnox plugin link [-f --force] <NAME> <PATH>fnox plugin lsfnox plugin uninstall <NAME>fnox plugin update [NAMES]…fnox profilesfnox provider [SUBCOMMAND]fnox provider add [FLAGS] <PROVIDER> <PROVIDER_TYPE>fnox provider listfnox provider remove [-g --global] <PROVIDER>fnox provider test [-a --all] [PROVIDER]fnox proxy <SUBCOMMAND>fnox proxy rulesfnox proxy run [--no-sandbox] [--sandbox] [COMMAND]…fnox reencrypt [FLAGS] [KEYS]…fnox remove [-g --global] [-n --dry-run] <KEY>fnox scan [FLAGS] [DIR]fnox set [FLAGS] <KEY> [VALUE]fnox sponsorsfnox sync [FLAGS] [KEYS]…fnox tuifnox version
Configuration
Examples
Create a config in the current directory
fnox initStore a secret (prompts for the value)
fnox set DATABASE_URLRun a command with secrets in its environment
fnox exec -- npm startList the secrets in another profile
fnox -P staging list