Summary
Add a 2kc webauthn enroll CLI command that guides server operators through registering a passkey/biometric credential with the server.
Context
Before WebAuthn can be used for approvals, the operator must register at least one credential. This is a one-time setup step done via the CLI (which opens a browser for the WebAuthn ceremony).
Acceptance Criteria
Dependencies
Scope Boundaries
- Does NOT include the approval flow (separate issue)
- Enrollment is operator-facing, not end-user-facing
Summary
Add a
2kc webauthn enrollCLI command that guides server operators through registering a passkey/biometric credential with the server.Context
Before WebAuthn can be used for approvals, the operator must register at least one credential. This is a one-time setup step done via the CLI (which opens a browser for the WebAuthn ceremony).
Acceptance Criteria
2kc webauthn enrollcommand insrc/cli/webauthn.ts:POST /api/webauthn/register/options)2kc webauthn list— lists registered credentials (ID, creation date, last used)2kc webauthn remove <credentialId>— removes a credential (with confirmation)Dependencies
Scope Boundaries