Hand a dev VM an inference key from the hypervisor in one line #92
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/nexus#92
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A deployment's operator hands a dev VM an inference key from the hypervisor in one step, without typing it into the VM, so a room full of fresh installs can each get a prefunded key from a file the operator placed.
Primary goals:
pi-key <provider>on a named VM over the existing admin SSH, so the key never appears on a command line or in history; today this is the unwrappedssh <vm> pi-key nullsink < ~/<key file>, which works becausepi-keyreads the key from stdin when stdin is not a terminal.pi-provider addon the host, commit, re-lock,rebuild-vm, which leaves the VM holding no key file, remains the demo of "only keys are precious"; this flow is the fast first contact, aspi-keyalready is inside the VM.Current state and specifics
pi-key(allod/archetypesmodules/pi-key.sh) takes the provider as an argument, skips the model prompt when stdin is not a terminal, reads the key from stdin, writes it at mode 0600 and records the provider; proven from a host with a fake key piped throughssh. Nothing wraps that line, nothing documents it, and the workshop plan decided the key for workshop VMs goes in this way, saved as a file in the laptop's home (plan of record, 2026-10-09).Scope
In: the host-side wrapper in
allod/nexus(or a documented one-liner if a wrapper adds nothing), its shell test, and the start-here text. Out:pi-keyitself; the managed provider path; any key purchase or funding step.Part of allod/strategy#65