Encrypted Secrets Vault
- UI entry: Security Vault in the Workspace Tools panel
- Storage: An encrypted TOML vault file, normally
vault.enc - Protection: Argon2 key derivation and AES-256-GCM encryption
Overview
The Security Vault stores sensitive values outside request files. You can use it for API keys, access tokens, passwords, and other values that should not be committed as plain text.
The vault is protected by a master password. Rumour does not store that password. After unlocking, the UI keeps the derived encryption key in the application session so it can list and decrypt secrets while the vault is open.
Unlocking the vault
The unlock screen contains:
- Master Password: Enter the password for the active vault.
- Unlock Vault: Validates the password and loads the secret key names.
- Forgot password? Reset Vault: Permanently deletes the active vault after confirmation.
- Active Vault Location: Shows the current vault path. Select the path to copy it.
- Recent Vault Files: Lists previously used vault paths for quick switching.
Press Enter in the password field to unlock. An empty password cannot be submitted. If the password is incorrect, the UI displays an error and keeps the vault locked.
When the active vault has no secrets, password verification succeeds and the vault can be initialized by saving the first secret.
Choosing the vault file
The unlock screen and the unlocked vault view provide controls for the active vault:
| Action | Description |
|---|---|
| Switch Vault File / Switch File | Choose an existing .enc or .toml file. The selected file becomes active and the vault is locked. |
| Create New Vault / Create New | Choose a new file location, commonly with the vault.enc name. Enter a password to initialize it. |
| Use Default | Return to Rumour's default vault location. |
| Copy | Copy the active vault path to the clipboard. |
Switching files clears the current password and loaded secrets. Recent vault paths are stored locally for convenience; up to five paths are retained, and individual entries can be removed from the history.
By default, Rumour uses a vault.enc file under the user's .rumour directory. The RUMOUR_VAULT_PATH environment variable can override this location.
Managing secrets
After unlocking, the Vault Management view opens on the Secrets tab.
Adding a secret
- Select Add Secret.
- Enter a key name, such as
STRIPE_API_KEY. - Enter the sensitive value.
- Select Save Encrypted.
The value is encrypted before it is written to the vault file. Each saved secret is stored with its own random nonce. All secrets in one vault must use the same master password.
Finding, revealing, and copying secrets
- Use Search secrets... to filter by key name.
- Select the eye button to decrypt and reveal one value.
- Select the eye-off button to hide a revealed value again.
- Select the copy button to copy a revealed value.
Copied values are cleared from the clipboard after 30 seconds when the clipboard is still holding the same value. Treat clipboard contents as sensitive.
Deleting a secret
Select the delete button for a secret and confirm the warning dialog. Deletion removes the encrypted entry from the active vault file.
Changing the master password
Select Change Password and provide:
- The current master password
- A new master password
- The new password again for confirmation
Rumour verifies the current password, decrypts the existing secrets, generates a new salt, and encrypts every secret again with the new password. If the two new password fields do not match, the change is stopped before the backend is called.
Changing the password does not expose secret values in the UI or create a second copy of the vault.
Locking and resetting
Lock Vault
Select Lock Vault to end the current unlocked session. Rumour clears the loaded secret list and password from the UI and locks the backend session.
The vault also locks automatically after 10 minutes without mouse, keyboard, touch, or scroll activity. Rumour shows a notification when the idle lock occurs.
Purge or reset the vault
Purge Vault and Forgot password? Reset Vault remove the active vault file after an explicit confirmation. This permanently deletes all secrets and cannot recover a forgotten master password. Use this action only when the vault contents are no longer needed or you have a separate backup.
Sub-vaults
The Sub-Vaults (Option B) tab lets you register additional encrypted vault files and refer to them through namespaces.
Each sub-vault configuration contains:
- A namespace name
- The encrypted vault file path
- The password for that sub-vault
For example, a sub-vault can provide a value through a namespaced placeholder such as {{vault.db.password}}, depending on the configured namespace and variable resolution rules.
You can add, edit, delete, and search sub-vault configurations. A sub-vault cannot point to the active main vault. Select Manage Secrets on a sub-vault to list, reveal, add, copy, or delete its secrets.
Sub-vault configuration is stored as an encrypted internal entry in the main vault. The special internal key is not shown in the main Secrets list.
How encryption works
- Rumour creates or loads a random salt for the vault.
- Argon2 derives a 32-byte encryption key from the master password and salt.
- Each secret is encrypted with AES-256-GCM and a fresh 12-byte nonce.
- The nonce and ciphertext are Base64-encoded and stored in the vault TOML file.
- Secret values are decrypted only when requested by the unlocked UI or request variable resolver.
The vault file is written atomically through a temporary file and rename operation. The master password is not written to the vault file.
Using vault values in requests
Vault values can be referenced through Rumour's variable syntax in request URLs, headers, and bodies. The resolver obtains the encrypted value at execution time, so request files can contain a reference instead of the secret itself.
Keep the vault file protected and do not commit it to source control unless your team has an appropriate secure storage policy. A lost master password cannot be recovered by Rumour.
Troubleshooting
- Invalid master password: Confirm that the active vault file is the intended file, then try its password again.
- No secrets found: The vault may be new or empty. Select Add Secret to initialize it.
- Decryption failed: The password may not match the vault that is currently selected.
- Wrong vault is open: Use Switch Vault File, select the correct file, and unlock it.
- Forgotten password: Resetting the vault is the available recovery path, but it permanently deletes its contents.