Settings page — secret management and SSH key management #38
Loading…
Add table
Add a link
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?
Add a dedicated Settings page to the UI.
Currently secret management is only in the
navbar modal. SSH keys are not supported yet.
SECTION 1 — Secret Management
Move the existing secret flow here (keep navbar
indicator but clicking opens Settings page).
Features:
(existing modal logic, moved here)
if too short/simple
SECTION 2 — SSH Keys
Allow users to manage SSH public keys that
get injected into deployed VMs.
Each SSH key has:
(disabled keys are not passed to new VMs)
Storage: SSH keys stored in localStorage
(hc_ssh_keys) as JSON array.
When deploying a VM, all ENABLED keys are
passed to the deploy_vm() call.
Research needed:
injection at VM creation time?
another mechanism?
--ssh-key or cloud-init support
If chvm supports it: wire keys into deploy_vm
If not: open a separate issue for chvm to
add SSH key injection support
UI layout:
Settings
├── Secret
│ ├── Current secret status
│ ├── Change secret (with migration)
│ └── Clear secret
└── SSH Keys
├── [+ Add SSH Key] button
├── Key list:
│ ☑ MacBook ssh-ed25519 AAAA... [Edit][Delete]
│ ☐ Work ssh-rsa AAAA... [Edit][Delete]
└── Note: "Enabled keys are injected
into new VMs at deploy time"
Add Settings to sidebar nav and routing.