Configuration Loaders

Loaders

- file    : files on-disk
- pkgdata : python package data
- http    : plaintext HTTP
- https   : HTTP over TLS
- env     : environment variable
- module  : python module
- s3      : AWS S3 bucket
- python  : python source code, at a file path

Serializers

- yaml **DEFAULT**
- json
- ujson
- jinja

Scheme

<LOADER>[+SERIALIZER]://<PATH>[,<LOADER>[+SERIALIZER]://<PATH>,...]

Examples

Single file
file:///etc/sovereign.yaml
Multiple files (comma separated)
file:///etc/sovereign/common.yaml,file:///etc/sovereign/dev.yaml
HTTP Source
http://config.myserver.com/environments/dev.yaml
Mixture of serializers
http+json://config.myserver.com/environments/dev.json
http+jinja://config.myserver.com/environments/dev.j2
http+yaml://config.myserver.com/environments/dev.yaml
s3+json://my-bucket-name/file.json