Skip to main content

Module environments

Module environments 

Source
Expand description

First-class environment definitions and layered resolution. First-class environment definitions and layered resolution.

An Environments value holds compiled-in environment definitions and, optionally, an environments.toml file plus <ENV>_* env-var overrides. Resolving a name merges those layers (later wins) into an Environment.

Structsยง

Environment
A fully-resolved environment.
EnvironmentDef
An unresolved per-environment declaration (one layer of configuration).
Environments
Engine-owned environment system: definitions + resolution + active-env state.
OAuthConfig
Standard OAuth slice of an environment, consumed by PkceAuthProvider.