Skip to content

Chapters

  1. Pydantic and configuration foundations: the Pydantic and file-loading concepts the package builds on.
  2. MountainAsh base settings: defining a settings class with MountainAshBaseSettings.
  3. Settings parameters and merge strategies: choosing config files and kwargs, and how values merge.
  4. File handling, kwargs, and field templating: loading YAML, TOML, JSON and .env files, and deriving fields with {FIELD_NAME} templates.
  5. Secrets resolution: resolving secret: references from a secret store.
  6. Connection profiles: declaring connection parameters once and rendering driver keyword arguments with emit().
  7. Profile registry and invariants: registering profiles by name and testing their invariants.
  8. Authentication boundary: what settings leaves to mountainash-auth-client, and how credentials flow through adapters.
  9. Caching, settings management and app settings: get_settings(), SettingsManager and AppSettings.