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 withprovider = "..."<PROVIDER_TYPE>— Provider typeChoices:
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 (typeluaonly; default: the provider name)--vault <VAULT>— Default Proton Pass vault (typeproton-passonly)-h --help— Print help
Examples
Add a 1Password provider
fnox provider add op 1passwordAdd an age provider to the global config
fnox provider add sync-age age --globalAdd a Lua plugin provider
fnox provider add corp lua --plugin fnox-plugin-corp