Skip to content

fnox provider add ​

  • Usage: fnox provider add [FLAGS] <PROVIDER> <PROVIDER_TYPE>
  • Aliases: a, set

Add a provider entry to a config file

Writes a [providers.<PROVIDER>] entry of type PROVIDER_TYPE to the config file in the current directory, or the global config with --global. Most types start from a template with placeholder values that you edit afterward; fido2 and yubikey run an interactive hardware setup instead.

The aws and gcp choices create aws-sm and gcp-sm providers. With an explicit -P or --write-profile, the entry goes under that profile.

Arguments ​

  • <PROVIDER> — Name for the provider, which secrets reference with provider = "..."

  • <PROVIDER_TYPE> — Provider type

    Choices: 1password, age, aws, aws-kms, aws-ps, azure-ac, azure-kms, azure-sm, gcp, gcp-kms, fido2, bitwarden, doppler, enpass, foks, gopass, bitwarden-sm, infisical, keepass, keeper-sm, keychain, kubernetes, lua, password-store, passwordstate, plain, proton-pass, vault, yubikey

Flags ​

  • -g --global — Write to the global config file (~/.config/fnox/config.toml)
  • --plugin <PLUGIN> — Lua plugin name or path (type lua only; default: the provider name)
  • --vault <VAULT> — Default Proton Pass vault (type proton-pass only)
  • -h --help — Print help

Examples ​

Add a 1Password provider

sh
fnox provider add op 1password

Add an age provider to the global config

sh
fnox provider add sync-age age --global

Add a Lua plugin provider

sh
fnox provider add corp lua --plugin fnox-plugin-corp

See also ​

MIT LicenseCopyright © 2026jdx.dev