Reads configuration from an HTTP endpoint (a GitHub raw file, a gist, any URL).
Uses the global fetch (override via options.fetch). JSON by default; .yml/.yaml URLs are parsed as YAML. Pass headers for a private source (e.g. an authorization token).
fetch
options.fetch
.yml
.yaml
headers
The source options.
Readonly
A human-readable name (e.g. env, file, ssm).
env
file
ssm
Static
Create an HTTP source.
A new source.
Reads configuration from an HTTP endpoint (a GitHub raw file, a gist, any URL).
Uses the global
fetch(override viaoptions.fetch). JSON by default;.yml/.yamlURLs are parsed as YAML. Passheadersfor a private source (e.g. an authorization token).