Settings & secrets reference
Generated by settings_setup.py (non-secret) and config_setup.py (secret). Loading model and
gotchas: Configuration & secrets.
default block
Environment-independent values, written for every environment.
| Setting | Value |
|---|---|
|
The |
|
|
|
The shared Sentry DSN. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Per-environment block
| Setting | release |
dev (<env>) |
|---|---|---|
|
||
|
||
|
||
|
|
|
|
||
|
|
The first six digits of |
|
||
|
||
|
|
|
|
|
|
|
An API Gateway stage URL ( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Secrets
Written to config/.secrets.json by config_setup.py, then read as ordinary settings.* keys.
| Setting | Source | Used by |
|---|---|---|
everything in the |
Secrets Manager |
Copied verbatim — any key added there becomes |
|
|
|
|
|
HTTP Basic auth on CLEAR calls. |
|
|
|
|
|
|
|
|
HMAC key for the |
|
|
HubSpot Private App token for the |
|
|
Auth key for the internal EventLogger service that supplier events are emitted to. |
|
Supplier-event emission needs all three of |
Thomson Reuters certificate material
| Environment | Path |
|---|---|
|
The secret |
dev |
The secret |
Environment variables (not Dynaconf)
| Variable | Purpose |
|---|---|
|
Chooses the environment block that |
|
Chooses the block Dynaconf reads. Must equal |
|
Build-time only: |
|
Installs the private |
|
Build/tagging inputs for |
|
Makefile-only, for |
Adding a setting or a secret
-
Non-secret — add it to
settings_setup.py(defaultblock if it is environment-independent, otherwise both branches), regenerateconfig/settings.json, and document it above. -
Secret — add the key to the
automatic_uw_toolSecrets Manager entry in both AWS accounts.config_setup.pycopies it through automatically; no code change is needed. Document it above. -
Read it as
settings.<KEY>— neveros.getenv. If a missing value must not crash the process, read it defensively (getattr(settings, 'KEY', None)) as the webhook secret does.