How to keep your two-factor codes in Vela

Add a site's two-factor setup key to Vela by scanning its QR code or pasting the key, then copy the six-digit code with a click or let Vela fill it in for you.

Updated 16 November 2026 7 min read Mac iPhone iPad

Many sites ask for a six-digit code after your password, from an authenticator app on your phone. Vela can be that authenticator. Give it the site's setup key once, by scanning the QR code or pasting the key, and Vela shows the current code whenever you need it and can type it into the sign-in page for you. This guide covers adding, copying and filling codes, and the trade-off of keeping them next to your passwords.

Find the 2FA Codes tab

Two-factor codes live in the Password Manager, next to your saved logins.

  1. Open the Password Manager. On the Mac, press ⇧⌘P. On iPhone and iPad, tap ⋯ for Control Center, then Passwords.
  2. Switch the selector at the top from Passwords to 2FA Codes.
  3. Click or tap Add. The same command is in the manager's menu as Add 2FA Code.

The Add 2FA Code sheet asks for a setup key and a name, and optionally your username, the website and a profile. To get the key, open the site's security settings and choose to set up an authenticator app. The site shows a QR code, and usually a way to see the key as text.

Add a code from the QR code

The QR code holds a secret key, and Vela can read it in several ways.

Mac

  • From the page. Leave the site's QR code showing in the current tab and click Scan QR Code. Vela reads it straight from the page. The arrow next to the button has the other choices.
  • Choose Image… opens an image or a PDF that holds the QR code.
  • Paste Image uses a picture on the clipboard, such as a screenshot taken with ⌃⇧⌘4.
  • Scan with Camera… uses your Mac's camera, for a QR code shown on another screen. It appears when the Mac has a camera.
  • Drag and drop. Drop an image of the QR code, or a setup key as text, onto the setup key area.

iPhone & iPad

  • Scan opens the camera. Point it at the QR code on your computer screen.
  • Photos picks a screenshot or photo of the QR code.
  • Files opens an image or PDF from the Files app.
  • Open Page reads the QR code from the page in your current tab, which saves taking a screenshot when you set up two-factor on the phone itself.

When the read works, the line under the key says Read from the QR code, with the service and account it found, and the name and username are filled in for you. Check them, then click Save.

Or type or paste the setup key

If the site shows the key as text, paste it into the field labeled Setup key or otpauth:// link, using the paste button beside it, or type it. Spaces in the key do not matter. The eye button shows or hides what you entered.

A valid key shows Valid setup key and a preview of the live code. Vela accepts the standard formats: SHA1, SHA256 or SHA512 keys, with codes of 6 to 8 digits. A few cases it turns away with a plain message: a QR code that is not a two-factor code, a counter-based (HOTP) code, and a one-time code sent to you by text or email.

Moving from Google Authenticator? Its export QR code can hold several accounts. Scan it and Vela asks Which account is this? so you can add them one by one.

Copy a code, or open it

Each code in the 2FA Codes tab shows the service, the account, the current code and a ring counting down the seconds until the next one. The digits turn orange in the last five seconds.

  • Click or tap a code to copy it. Vela says Copied, and you paste it on the site.
  • Double-click or double-tap a code to open it and change its name, website or profile.
  • The context menu has Copy Code, Edit Code and Delete Code.

Copied codes do not linger. On the Mac, Vela clears the clipboard after 30 seconds if nothing else was copied since. On iPhone and iPad the copy expires after 30 seconds and stays on that device instead of reaching your other devices through Universal Clipboard.

A login can use a code too. When you edit a saved password, its 2FA Code section offers None, Setup Key or Saved Code, so you can pick a code from the 2FA Codes tab. The code's card then says which logins use it.

Let Vela fill codes when you sign in

When a sign-in page asks for a verification code, Vela shows a Verification Code bar with the code that fits the site. Click Fill Code on the Mac, or tap Fill on iPhone and iPad. If the site has more than one account, the menu beside it lets you pick another, and Vela remembers which one you used last on that site. When you click into the code box on the page, a small key button appears inside it; click it for a list of this site's codes.

The switches are in Settings: on the Mac, Settings → Passwords, under Autofill; on iPhone and iPad, Settings → Passwords.

SettingDefaultWhat it does
Offer 2FA Code AutofillOnShows the Verification Code bar and the list in the code box.
Fill 2FA Codes AutomaticallyOffTypes the code without waiting for you, when Vela is sure which account it is.

Vela is sure when the code matches the account you just signed in with, or when only one code fits the site. Otherwise it waits for you to choose. If the code runs out before you press the site's button, Vela swaps in the new one, as long as the box still holds the code it typed. Both switches follow Enable Autofill and each profile's own autofill setting, and nothing is filled in private tabs.

Vela also keeps your other accounts private from the page: the list inside the code box only ever names the codes that match this site.

Codes belong to a profile

Like a saved password, each code is kept with a profile, which you choose in the editor: Keep this code with the logins in this profile. A code fills only in tabs of its own profile, unless you turn on Fill Across Profiles in the Passwords settings. When you use more than one profile, each code card shows which one it belongs to. See browser profiles for how profiles keep accounts apart.

To bring codes from another app, use Import Passwords or 2FA… in the manager's menu. Vela reads a CSV with setup keys or a text file of otpauth:// links. Export Passwords or 2FA… can write 2FA Codes Only. With iCloud Sync turned on, codes and the links between codes and logins sync between your devices; see iCloud sync and Handoff.

Passwords and codes in one place: the trade-off

Two-factor sign-in works because it asks for two separate things: something you know, the password, and something you have, the device with the codes. When the same app holds both, anyone who gets into that app gets both. Keeping codes in Vela trades some of that separation for convenience.

For most accounts that is a reasonable trade, and you can narrow the gap. Keep the Touch ID or Face ID lock on; it is on by default, though it guards the Password Manager rather than autofill, so lock your Mac and phone whenever you step away. For your most important accounts, such as your email and your Apple Account, consider keeping the codes in a separate authenticator on another device. To see what the codes do and do not protect you from, read how two-factor codes work.

Questions, answered.

Can I save the six-digit code a site sent me by text or email?

No. Vela keeps the setup key behind the codes, not a single code. A code from a text message or email works once and cannot be saved; you need the QR code or setup key from the site's two-factor settings.

Can I move my codes from Google Authenticator?

Yes, one account at a time. Export your accounts from Google Authenticator as a QR code, then scan or open it in Vela. If the QR code holds several accounts, Vela asks which one to add.

Does Vela support counter-based (HOTP) codes?

No. Vela keeps time-based codes, which almost every site uses. If you scan a counter-based QR code, Vela tells you so and does not save it.

Are my codes filled in private windows?

No. Vela does not offer or fill two-factor codes in private tabs. You can still open the Password Manager, copy a code and paste it in yourself.

Keep reading.

All guides
Passwords & security

How to save and autofill passwords with Vela

Save logins as you sign in, let Vela fill them next time, and keep them locked, synced and separated by profile.

5 minMac · iPhone · iPad
Profiles & network

How to keep work and personal apart with profiles

Give work, home and each project its own cookies and sign-ins, then switch between them from the toolbar.

6 minMac · iPhone · iPad
Make it yours

Sync Vela with iCloud and pick up pages with Handoff

Keep bookmarks, history, profiles and passwords in step across devices, and carry a page from one to the next.

5 minMac · iPhone · iPad