Skip to content

Latest commit

 

History

History
71 lines (43 loc) · 1.7 KB

backends.rst

File metadata and controls

71 lines (43 loc) · 1.7 KB

Supported backends

The following backends are supported as of version :

backend interface

All backends implement the same interface, which allows for easy addition of new (or external backends).

commandline arguments

Command line arguments are implemented using argparse. This backend is enabled by default.

environment variables

Environments are read from os.environ. This backend is enabled by default.

ConfigObj files

Files in ConfigObj format are supported. This backend is only enabled if omniconf.configobj.filename is specified during setup.

JSON files

Files in JSON format are supported. This backend is only enabled if omniconf.json.filename is specified during setup.

YAML files

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 Vault

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.