Password manager
Optional
- Time
a few minutes to answer the question, plus setup time for the manager
- Cost
free to a few dollars a month (below)
- You need
an account with a supported manager, and its command-line tool
Not done yet. Tick it at the end of the page.
Your new site needs a few private values: API keys and tokens for Sanity, form emails and any CRM.
wp2next never writes them into the code and never shows them in chat. It keeps them in a secret store
you choose. This page is about using a real password manager as that store. Without one, wp2next keeps
the values in Vercel or in a plain .env file on your computer. Both work, but they are easier to lose.
Steps show for every computer until you pick yours.
When you'd want it
- You already pay for 1Password, Bitwarden or Keeper. Use it. This is the safest default.
- You want a copy of every key you can get back later. Vercel stores keys as "Secret" values that nobody can read back, not even you, so the copy in your password manager is the one you can recover.
- You build sites for other people and want each site's keys kept apart.
You can skip it for a small site of your own on your own laptop. Then keep a manual copy of each key somewhere safe.
What it costs
Prices checked 2026-12. They change, so follow the links before you buy.
| Manager | Free option | Paid |
|---|---|---|
| 1Password | No free plan; 14-day trial, no card needed | Individual $3.99/month, Families $5.99/month (pricing (external site)) |
| Bitwarden Secrets Manager | Yes: 2 users, 3 projects (plans (external site)) | Teams $6 per user per month (pricing (external site)) |
| Keeper Secrets Manager | No; it needs a Keeper Business account, with a trial | Part of Keeper's business plans (docs (external site)) |
| Doppler | Yes: 3 users, 10 projects (pricing (external site)) | Team $21 per user per month |
| Infisical | Yes: 5 identities (pricing (external site)) | Pro $20 per identity per month billed yearly, $23 monthly |
| macOS Keychain | Free, built into every Mac (Mac only) | — |
Bitwarden Secrets Manager is not the same product as the Bitwarden password-manager app. Dashlane,
Proton Pass and LastPass are not supported as stores; if you use one, pick Vercel or a .env file and
keep a manual copy in your password manager.
Do this
- Install your manager's command-line tool and sign in. The secrets guide has the steps for each one. For 1Password, also turn on Settings > Developer > Integrate with 1Password CLI in the desktop app.
- Run
init(step 5). It looks for installed managers and asks: "Where should API tokens and keys be stored?" Pick yours. Pick None of these to see Doppler, Infisical, macOS Keychain and plain.envfiles. No password manager?
Pick None of these, then macOS Keychain: it's free and built into your Mac. This is also the choice if you use Apple Passwords (iCloud Keychain).
Pick None of these, then Plain .env files. macOS Keychain is Mac only, and wp2next has no
Windows Credential Manager option. The file is kept in your user folder
(C:\Users\<you>\.config\wp2next\secrets\), which other Windows users on the PC can't open by
default; keep a copy of each key somewhere safe too. A free Bitwarden Secrets Manager, Doppler or
Infisical account is safer if you'd rather not keep keys in a file.
- When
migratestarts (step 6), it asks one more question for some managers: which Keeper record, Bitwarden project, Doppler project or 1Password vault holds this site's keys. These are names and IDs, not secrets. - When wp2next needs a key, the AI tool gives you a command to run in a terminal (in the Claude app,
the Terminal pane:
Ctrl+`). It shows a hidden prompt (Value for … (hidden)): paste the key there and press Enter. Nothing shows while you paste; that's normal. Step by step: Entering a private key. Never paste a key into the chat.
Changed your mind later? Run init again, or ask your AI tool to change secrets.backend.
You'll know it worked when
doctorreports your secret store as working.- Your manager shows a new item, project or record for the site (named
wp2next/<site code>by default), filling up as you go. - wp2next never prints a key back to you. That's on purpose: there is no "show this value" command.
If something goes wrong
- Run
doctorfirst. It checks the store and says what to fix. - Common problems for each manager are in the secrets guide and troubleshooting. See also If it stops.
This page is docs/start/optional/password-manager.md in the wp2next repository. Read or edit it on GitHub (external site)