Passkeys & MFA
Sign in without a password, or require a passkey as a second factor after your password or OIDC provider.
A passkey signs you in with your phone, computer, or hardware key. Arcane supports:
- Passwordless sign-in — select Passkey on the login page and follow your device’s prompt.
- Passkey MFA — sign in with your password or OIDC provider, then confirm with a passkey.
Registering a passkey does not turn on MFA. That’s a separate switch.
Passkeys need HTTPS (or localhost), because browsers only expose WebAuthn in a secure context. Over plain HTTP, Arcane shows “Passkeys require a supported browser and a secure HTTPS connection.” and hides the controls. See TLS or use a reverse proxy that terminates HTTPS.
Register a passkey
Section titled “Register a passkey”- Open Account from the sidebar user menu, on the Account tab.
- In Passkeys, select Add passkey.
- Name it something recognizable, usually its device.
- Complete your browser or OS prompt.
The list shows each passkey’s name and last use; rename or delete them there. Register more than one: a passkey lives on one device, and losing your only one leaves you relying on recovery codes. Arcane prefers post-quantum ML-DSA keys when your authenticator supports them, otherwise classical algorithms.
Turn on passkey MFA
Section titled “Turn on passkey MFA”You need at least one registered passkey first.
- In Passkeys, find Passkey MFA and select Enable MFA.
- Arcane shows 10 single-use recovery codes once.
- Save them securely before closing. They’re your only way in if you lose your passkey.
Password and OIDC sign-ins then stop at an MFA step offering Use passkey or Use recovery code. The panel shows remaining codes; Regenerate codes issues 10 new ones (shown once) and invalidates the old ones.
Disabling MFA deletes remaining recovery codes but keeps your passkeys, so sign-in falls back to password or OIDC alone. Lost both passkeys and codes? An operator with shell access to the container can clear MFA; see Account Recovery.
Confirm your identity before changes
Section titled “Confirm your identity before changes”Changing passkeys, MFA, or recovery codes requires Confirm your identity with a passkey or current password. Confirmation and passkey prompts expire after 5 minutes. OIDC-only accounts need an accessible passkey here; without one, use arcane admin reset-mfa (Account Recovery).
Use the CLI with MFA enabled
Section titled “Use the CLI with MFA enabled”arcane-cli auth login uses a browser device flow that can’t carry an MFA challenge, so it fails with MFA on. Create a personal API key under API keys on the Account page, then run:
arcane-cli config set api-key <key>Personal API keys inherit your role’s permissions. See CLI Configuration.
Related
Section titled “Related”- OIDC Single Sign-On — passkey MFA layers on top of OIDC sign-in.
- Roles & Permissions — what an account can do once it is in.