Skip to content

mw config secrets migrate

Releasev0.35.0 · cfeceb67

mw config secrets migrate [KEY...] [flags]

Move Gerrit, Cloud VPS, Phabricator, GitLab profiles and saved wiki credentials from config.json to their selected provider. Supply credential keys to migrate only those entries. Plaintext entries use the configured default or –provider; secure links retain their provider. Each secret is read back before its plaintext value is removed. This does not import external phab.cfg files or change the external glab credential store.

--dry-run
Show credential keys and destinations without opening providers or moving secrets
--provider <string>
Override the credential provider (keyring, windows-credential-manager, keepassxc or plaintext)
--replace
Use the plaintext value to replace one named credential in its secure provider, verifying before removing plaintext
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw config secrets migrate --dry-run
mw config secrets migrate
mw config secrets migrate gerrit.profiles.addshore.password --provider keyring
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.