Summary
Make it seamless for a user to migrate from a self-hosted (local daemon) authsome setup to the hosted/cloud version — preserving the same identity and all existing connections without re-authenticating.
Motivation
Users who start with the local daemon today have no clear upgrade path to the hosted version. They must re-register, re-authenticate every provider, and lose their existing identity. A first-class migration path removes this friction and encourages adoption of the hosted offering.
Desired Behavior
- The user's existing local Ed25519 identity (
did:key) should be recognised by the hosted service — no new key pair, no new DID.
- Existing provider connections (tokens, API keys) should transfer without requiring re-login.
- Ideally a single command: e.g.
authsome migrate --to hosted that handles export, upload, and switchover atomically.
- After migration the local daemon can be stopped; the CLI points at the hosted endpoint transparently.
Work Items
Notes
- The local identity key (
~/.authsome/identities/<handle>.key) is the cryptographic anchor — the hosted service must accept it rather than issuing a new one.
- Vault encryption keys must be re-wrapped for the hosted KMS without ever exposing plaintext credentials outside the local machine.
Summary
Make it seamless for a user to migrate from a self-hosted (local daemon) authsome setup to the hosted/cloud version — preserving the same identity and all existing connections without re-authenticating.
Motivation
Users who start with the local daemon today have no clear upgrade path to the hosted version. They must re-register, re-authenticate every provider, and lose their existing identity. A first-class migration path removes this friction and encourages adoption of the hosted offering.
Desired Behavior
did:key) should be recognised by the hosted service — no new key pair, no new DID.authsome migrate --to hostedthat handles export, upload, and switchover atomically.Work Items
authsome migratecommand (or equivalent) that exports local state and imports it into the hosted vault under the same identitydid:keyduring onboarding so identity continuity is preservedNotes
~/.authsome/identities/<handle>.key) is the cryptographic anchor — the hosted service must accept it rather than issuing a new one.