forked from vhaudiquet/rhema-claw
The ssh sandbox took its credential from a key file the local disk had to hold, so a daemon whose secrets live in a store could not reach a far box without staging a file first. The choice gains private_key, the key text itself, threaded to the ssh backend's with_private_key; unset, the built-in hunt tries the agent and the default key files as before. The route keeps the token's write-only contract: GET /v1/sandbox answers private_key_set and never the key, PUT takes private_key and clear_private_key, an absent field keeps the stored one, a present-but-blank one clears it, and config.yaml's sandbox section accepts the field for boot seeding. The settings page grows the key textarea with its forget row, the token UI's shape. The three sandbox deps move to 0.4.2 for the seam, so the crate builds once the rhema 0.4.2 release lands on crates.io; until then the Rust gates cannot run and were checked by hand (cargo fmt parses the tree, vue-tsc passes).