The following backends are supported as of version :
All backends implement the same interface, which allows for easy addition of new (or external backends).
Command line arguments are implemented using argparse
. This backend is enabled by default.
Environments are read from os.environ
. This backend is enabled by default.
Files in ConfigObj format are supported. This backend is only enabled if omniconf.configobj.filename is specified during setup.
Files in JSON format are supported. This backend is only enabled if omniconf.json.filename is specified during setup.
Files in YAML format are supported. This backend is only enabled if omniconf.yaml.filename is specified during setup. All YAML documents in the file are consumed.
Hashicorp's Vault is supported by using its API. This backend requires several configuration keys to be defined during setup, see the documentation below for details.