Expand description
The machine’s managed configuration (leanctx.managed-config/v1).
An organisation preconfigures a machine through MDM. The carrier IO
lives in lean_ctx_fs::managed and the schema in
lean_ctx_protocol::cloud::managed; this facade joins them, and holds the
three decisions that need engine types:
Managed::apply_to_cloud: the managedcloud.url,cloud.root_keyandtelemetry.*overlay[cloud]on everyConfigload. The overlay is never written back:config setandConfig::update_globalread the user’s file, not the loaded value.refusal_for_key:config setof a managed key is refused.require_gate: withcloud.require, every tool refuses until the machine is signed in (a live lease) and a Cloud policy floor is installed.
A carrier that exists but cannot be read or parsed fails closed: Cloud
calls refuse, cloud.* settings refuse, and so does every tool (a broken
carrier may have been the one that set cloud.require).
Structs§
- Managed
- A managed configuration found on this machine.
Functions§
- current
- This machine’s managed configuration, re-read every few seconds.
- refusal_
for_ key config setrefusal forkeyunder this machine’s managed configuration.- register_
signed_ in_ probe - Register the connector’s sign-in probe (the first registration wins).
Without one,
cloud.requirerefuses every tool. - require_
gate - The
cloud.requiregate:Err(every tool refuses) while a managed configuration requires a sign-in and there is no live lease or no installed policy floor, or while the carrier is refused.
Type Aliases§
- Signed
InProbe - Whether this machine is signed in to its Cloud with a live lease.