gunk-dev/the-valley

bd-8a591dc-machine-credentials-never-expire.md

source58da81844df1main's published tip history
1.8 KiB · Rendered
1---
2type: bug
3id: bd-8a591dc
4status: closed
5title: "Machine access now expires through registry compilation"
6created: 2026-07-31
7source: provisioning a disposable agent VM against the pilot host, 2026-07-31
8---
9
10# Machine access now expires through registry compilation
11
12Machine access needs a declared lifetime so a disposable machine does not leave an indefinite grant
13behind. The registry and compiler provide that mechanism, which is the resolution recorded by this
14closed bug.
15
16[[dcr-b87f6e8]](../decisions/dcr-b87f6e8-identity-is-a-governed-registry.md) requires expiry for
17machine and service entries. The [identity compiler](../../identity/) reads the integrated registry
18and omits expired entries from generated access artifacts.
19
20Provisioning access is a registry change. It does not require rebuilding the primary host for each
21machine.
22
23## Expiry and recovery behavior
24
25Removal takes effect on the first successful convergence after expiry. It is not an instantaneous
26credential expiry enforced independently by SSH.
27
28A failed compilation leaves the last valid artifacts in place. This preserves a recovery path but
29can delay access removal. Keys declared directly by the host remain available outside the generated
30registry artifacts during this deployment stage.
31
32The registry therefore resolves the lack of any declared machine lifetime. Continued convergence and
33the handling of fallback keys remain part of operating that mechanism.
34
35## Related work
36
37Qinling's `dcr-34b3f6d` separates keys by capability, including authentication, decryption, and
38human signing. That separation complements expiry by limiting what a credential can do.
39
40Short-lived certificates remain a possible next step. Their issuer and request-authentication design
41are still open in [[dcr-b87f6e8]](../decisions/dcr-b87f6e8-identity-is-a-governed-registry.md).