Skip to main content

Module settings

Module settings 

Source
Expand description

What setup pins for a protected install, how an enforcer finds it, and the install id every enforcer derives from its own identity.

Setup writes three values: the signer list fingerprint, the install’s prefix and the release channel it follows. The project is the one signer list version 1 names. Nothing else comes from setup, and nothing at all from the control plane.

Modules§

names
Where setup writes the signing settings, the ledger and deployer inputs.

Structs§

SigningSettings
The signing settings of one install.

Enums§

InstallId
The install id. Enforcers derive it from their own identity and never read it from anywhere the control plane writes, so a statement signed for one customer’s install is refused by another’s.
Lookup
What an enforcer got when it read one place the settings could be.

Functions§

candidate_prefixes
The prefixes a resource name could belong to, longest first: the name itself, then every part of it ending before a -. An enforcer whose role is acme-prod-verifier looks for settings of acme-prod-verifier, acme-prod and acme.
discover
Decide whether an install is protected from every place its settings could be, keyed by the prefix each place belongs to.