Skip to main content

Module resolver

Module resolver 

Source
Expand description

Per-target credential resolution. config::ConfigCredentialResolver resolves credentials: the config file wins per key, and the environment is the fallback.

Modulesยง

config ๐Ÿ”’
Config-file-based credential resolver: [targets.<uuid>] entries win per key over the targetโ€™s environment variables. client_secret and bind_password are env-only, since the config file is often checked into a repo.
env ๐Ÿ”’
Environment variable naming for per-target credentials.

Structsยง

ResolvedCredentials ๐Ÿ”’
Resolved credentials keyed by suffix, the env var name after the <TARGET_ID>_ prefix (e.g. CLIENT_SECRET).

Enumsยง

ResolveError ๐Ÿ”’
Errors from resolving credentials for a target system.

Traitsยง

CredentialResolver ๐Ÿ”’
Resolves credentials for a target system. async so an implementation can call an external secrets manager.