Expand description
Self-service SSH key management.
- GET
/account/ssh-keyRenders the list of registered keys plus the add-key form. If the request carries?added=<fp>, also renders a ready-to-paste~/.ssh/configsnippet — the same onenomisync-sshdwrites back after a successfulssh-copy-idbootstrap. - POST
/api/account/ssh-key/add(Form<AddKeyForm>) CallsAddSshKeyand redirects to the manage page with?added=<fingerprint>so the snippet panel appears. - POST
/api/account/ssh-key/remove(Form<RemoveKeyForm>) CallsRemoveSshKeyand redirects back without the panel.
All three handlers reuse server-side commands so the CLI and
the web surface stay in sync on validation + side-effects (e.g.
flipping users.ssh_enabled).