Today an instance enrolls each of its host's services by hand in its registry: - **The restacker:** a principal, a boundary of kind `restack`, push and restack grants, an expiry, and a key the operator generates, encrypts and provisions. - **The check worker:** a principal, its key (which the worker generates on first start, so the operator copies the public half into the registry), its `signs` name, and the host's list of projects that count its signatures. - **The integrator:** a principal and its signing key. - **Boundaries:** one per host per power (push, request, restack). All of it follows from the host enabling the service. Writing it out again in the registry is ceremony, and each new controller adds more. The separation stays: each service holds one power, under its own key and its own Unix user, and the records name which one acted (see ida-9771e3a for why). What goes is the bookkeeping: - The registry enrolls the host once. The operator's approval of that entry is the consent to every service the host's configuration enables. - Each service's powers are its role's fixed powers, defined by the valley and not by the instance. A restacker restacks and pushes, and never signs, requests or governs. - Every service generates its own key on first start, as the worker does today. No agent or operator handles a service's private key. Direction: ida-9771e3a (a machine holds one principal with a key per role; later, host-minted role credentials). Done when a host that enables the restacker, the check worker and the integrator needs one registry entry for itself, with no per-service principals, boundaries, grants or key ceremonies, and each service still holds only its own power under its own key and Unix user.
No comments.