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§
Enums§
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, aliascloud.leanctx.com), base64 Ed25519, the one that signs today first (C0root_keys.vectors.jsonhosted, 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);Noneonce 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 asretired_root.
Traits§
- Cloud
Config Ext - 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_idatorigin(cloud.org,cloud.url), if it does. - normalize_
origin https://host[:port](orhttp://localhost|127.0.0.1[:port]), no path, query, fragment or credentials, no trailing slash.- schema_
section [cloud]inlean-ctx config schema/config validate.