HARBOR USER GUIDE

Vault and master password

How Harbor protects saved passwords, passphrases and cloud secrets, and how to set a master password with Touch ID or Windows Hello unlock.

Vault and master password

How secrets are protected

Harbor saves passwords, key passphrases and cloud secrets (access keys, API tokens, service principal secrets) only if you type them in. They’re never written in plain text:

  • By default, they’re encrypted by your operating system’s keystore: Windows DPAPI, the macOS Keychain, or libsecret (GNOME Keyring or KWallet) on Linux. Only your user account on this computer can decrypt them.
  • With a master password, they’re encrypted with a key derived from that password instead (scrypt and AES-256-GCM). Without the password, they can’t be read, even by someone with a copy of your data folder and access to your account.

Either way, secrets stay in Harbor’s background process. They’re never sent to the app’s window, and only go to the server or cloud provider they belong to. Leave a password blank to be asked each time instead of saving it.

Set a master password

  1. Open Settings › Vault & security.
  2. Choose Set a master password and enter a password of at least 8 characters. A long passphrase of several words is both secure and easy to remember.
  3. Harbor re-encrypts every saved secret with it.

From then on, Harbor shows an unlock screen when it starts and after it locks.

A forgotten master password can’t be recovered. Nobody, including Harbor’s developers, can decrypt your secrets without it. Forgot master password? on the unlock screen resets the vault by deleting the saved secrets; your hosts and settings are kept, and you enter passwords again as you connect.

Auto-lock

Auto-lock vault locks Harbor after 5, 15 (the default) or 60 idle minutes, or never. It also locks when your computer sleeps or the screen locks. While locked, open sessions keep running, but nothing you type reaches them until you unlock.

Touch ID and Windows Hello

On a Mac with Touch ID, or a Windows PC with Windows Hello, you can turn on biometric unlock. A copy of the vault key is then kept in the OS keystore and released after the fingerprint, face or PIN check. You can still unlock with the master password.

Change or remove the master password

Change the master password asks for the current one. Turn off the master password asks for it too, and moves the secrets back to OS keystore encryption.

Other protections

  • Host key verification on every connection. See Host keys.
  • Production guardrails ask before risky commands. See Production guardrails.
  • Warn before pasting secrets: pasting something that looks like a private key, token or password into a terminal asks first.
  • Mask secrets in session logs: tokens, passwords and private key blocks are hidden in saved logs.
  • Blocks mode masks secrets in command history and edit diffs.
  • Data files are created readable only by your user account.
  • The app window is sandboxed, can’t open other websites inside Harbor, and has no access to your camera, microphone or location.

Reporting a security problem

If you find a vulnerability in Harbor, please report it privately as described in the project’s security policy rather than in a public issue.