Skip to main content

Module config

Module config 

Source
Expand description

[cloud] configuration: the section’s types come from lean_ctx::core::config::cloud; this module adds the Cloud’s origin and root-key rules.

Structs§

CloudConfig

Enums§

CloudBusMode

Constants§

DEFAULT_PULL_INTERVAL_MINUTES
Default minutes between scheduler passes (SPEC-ENGINE §3.16).
HOSTED_ROOT_KEYS
Root public keys of the hosted service (cloud.leanctx.com, alias cloud.leanctx.com), base64 Ed25519, the one that signs today first (C0 root_keys.vectors.json hosted, RESOLUTIONS R55). Any other Cloud needs [cloud] root_key.
PRE_ROTATION_ROOT_KEY_ID
Key id (hex(blake3(pk))[..16]) of the hosted root while the offline rotation V15.O9 is open (pre_rotation); None once it is done.
PULL_INTERVAL_BOUNDS
Allowed pull_interval_minutes (SPEC-ENGINE §3.16).
RETIRED_ROOT_KEYS
Hosted roots that no longer sign a key set (retired): a set signed only by one of them is refused as retired_root.

Traits§

CloudConfigExt
The Cloud’s origin and root key of a [cloud] section (the section type lives in the engine; these rules are the connector’s).

Functions§

compiled_root_keys
The compiled keys of list, decoded (a malformed entry fails the vector test, never a connect).
managed_enrollment_refusal
Why this machine’s managed configuration forbids an enrollment with org_id at origin (cloud.org, cloud.url), if it does.
normalize_origin
https://host[:port] (or http://localhost|127.0.0.1[:port]), no path, query, fragment or credentials, no trailing slash.
schema_section
[cloud] in lean-ctx config schema / config validate.