Mikrotik DB Manager

Protecting saved router credentials

See how company encryption keys, authenticator sign-in, permission checks, and recovery codes protect access to MikroTik credentials in your team directory.

Connect your authenticator

After verifying your email, choose an account password and scan the setup QR code with your authenticator app. Enter its six-digit code to complete enrollment. Store the one-time recovery codes somewhere you can reach if you lose your phone.

How a router password is stored

Each company gets a randomly generated 256-bit vault key. The server encrypts each router password with XChaCha20-Poly1305, using a fresh random nonce for every encryption. The company and host IDs are authenticated along with the password, so copying an encrypted value into a different record causes verification to fail. Hostnames, usernames, groups and comments are stored as directory data.

Where the keys live

The database holds the encrypted passwords and an encrypted copy of each company key. The installation key that unlocks those company keys is held separately on the application server. The server can decrypt passwords to fulfill authorized requests. Protecting that server and its key backups is part of protecting the vault. Portal sign-in passwords use salted Argon2id hashes.

Who can reveal a password

Managers can reveal passwords in their own company. Staff need reveal permission on the host or its group. The server checks the current permissions and requires an authenticator verification within the last five minutes before decrypting a password. A successful reveal is recorded in Company activity. The dialog clears the displayed value after 30 seconds, when closed, or when the tab is hidden.

Recover an account

Use Forgot your password to receive a reset link at your registered email address. The link expires after 20 minutes. Changing your account password ends existing sessions and keeps authenticator verification in place. A saved recovery code can be used during sign-in to enroll a replacement phone.

Handle downloaded credentials

An export that includes passwords requires both reveal and export permission for each host plus a recent authenticator check. Anyone with that CDB can read its credentials. For inventories, export with passwords omitted. Open in WinBox sends the endpoint and optional username to your local helper. The saved password stays out of the launch link.

Replace a company vault key

In Team → Vault security, a manager can choose Erase all saved router passwords. Confirm the company name and enter a new authenticator code. The app clears saved passwords, cancels pending imports and generates a new 256-bit key, even for an empty vault. Hosts and shares are kept by default. Selecting the additional deletion option also removes the host entries and their individual shares. The action is recorded in Company activity.

Restore entries after a reset

If you need the passwords later, export them to a securely stored CDB before confirming. For larger directories, make importable backups of up to 500 hosts and 4 MiB per file. After the reset, import the CDB and choose Update duplicates for retained hosts. Deleted hosts are imported as new entries. Review sharing afterward. Imported passwords are encrypted with the new company key.

If a former employee may have credentials

Remove their company access and change exposed passwords on the routers themselves. Someone with a readable CDB, or old encrypted records and their matching key, can still use those copies. Importing an old password saves that same value under the new key. If the server or its installation key was exposed, the installation operator must secure the server and replace the installation key as well.