Security & Access · Two-factor authentication
Docs / Security & Access

Two-factor authentication

Protect your account with TOTP-based 2FA and one-time backup codes — one setting for every NevTan product, managed from Account → Profile.

Two-factor authentication (2FA) adds a time-based one-time password (TOTP) on top of your password. Once enabled, sign-in requires a 6-digit code from an authenticator app such as Google Authenticator or Microsoft Authenticator. You manage it in the console, under Account → Profile → Two-factor authentication. The setting belongs to your NevTan account rather than to Cloud alone, so one setup protects sign-in to every NevTan product.

Why a password alone isn't enough

A password is a single secret, and single secrets leak: reused across sites, caught by a phishing page, pulled from a breached database that has nothing to do with NevTan. 2FA assumes your password will eventually leak somewhere and adds a second factor — something you physically hold (your phone, running the authenticator app) — so a leaked password alone isn't enough to sign in. It's the single highest-leverage thing you can do to protect an account, because it defends against the most common real-world compromise: a reused or phished password, not some exotic attack on NevTan itself.

What 2FA protects

2FA guards your account login specifically — it stops sign-in even if your password is compromised. It's a different layer from API keys, which name a credential used by NevTan's own integrations, and SSH keys, which protect shell access to an instance. Enable all three where they apply; they don't substitute for each other.

How enrolment works

  1. 1
    Turn it on from your profile
    In the console, go to Account → Profile, find the Two-factor authentication section and click Turn on. The section shows a QR code for a new authenticator.
  2. 2
    Scan and confirm
    Scan the QR code with your authenticator app (or enter the key shown next to it), then type the 6-digit code it generates and click Turn on.
  3. 3
    Save your backup codes
    Once confirmed, the section shows ten one-time backup codes — only this once. Copy them somewhere safe — each can stand in for a TOTP code exactly once if you lose your device.

The section appears when you're signed in to the console with your NevTan email and password. If you signed in with Google or GitHub, it isn't shown: those sign-ins rely on that provider's own security, such as its two-step verification.

Signing in with 2FA on

From now on, after your password the sign-in screen of every NevTan product asks for a TOTP code, right on the same page. If you don't have access to your authenticator app, enter one of your backup codes instead. 2FA is optional for every account, administrators included — nothing changes until you turn it on.

Enable
Account → Profile → Two-factor authentication
Scan QR
authenticator app
Confirm code
6-digit TOTP
Backup codes
store safely

Losing your device

If your phone is lost, wiped, or replaced, you don't need your old device to sign in again — a backup code stands in for a TOTP code and gets you past the 2FA prompt on any new device. Once you're signed in, go straight to Account → Profile → Two-factor authentication: turn 2FA off with another backup code, then turn it on again to enrol your new device — that also gives you a fresh set of backup codes. Treat every used backup code as burned even if sign-in doesn't immediately consume it — the safest assumption is that a code you've typed once shouldn't be trusted again.

If you've also lost your backup codes

Losing the authenticator device and the backup codes at the same time is the scenario 2FA is explicitly designed to make hard to recover from — that's what makes the second factor meaningful in the first place. It's also why the enrolment flow front-loads the backup codes step and why the guidance is to store them somewhere durable and offline from the device running your authenticator app, rather than as a photo on the same phone. Practically, this means the codes deserve the same treatment as a spare house key: written down or saved somewhere you'd still have it if your phone disappeared today.

Disabling 2FA

To turn 2FA off, go to Account → Profile → Two-factor authentication, enter a current code — either a live TOTP code from your app or one of your backup codes — and click Turn off. That turns it off for every NevTan product. Accounts that are required to use 2FA can't turn it off; the section says Required for your account instead.

Note
Two-factor authentication you set up in the Cloud console's earlier, Cloud-only setting is no longer used. If you had it on, set it up again from Account → Profile → Two-factor authentication — the new setting covers every NevTan product.
Tip
Backup codes are one-time use. Treat them like passwords and store them somewhere offline from your authenticator app. The section shows how many you have left; if you run low or lose them, choose New backup codes there and confirm with a code from your app — your old codes stop working.
Important
If you ever suspect your password leaked separately from your 2FA device — say, from a breach unrelated to NevTan — change your password immediately even though 2FA is still standing between an attacker and your account. Don't rely on 2FA alone to make a known-leaked password safe to keep.