Skip to main content

Terminal UI

Browse your vault from the keyboard, find a password and copy it without typing a command, over SSH too.

Prerequisites​

  • The CLI configured to log in: see configuration and authentication. passbolt tui logs in as the other commands do.
  • A published binary, or a build from source with the default features: a build with --no-default-features leaves the terminal UI out.

Open the terminal UI​

passbolt tui

The UI loads the folders and the resources, then opens on all of them:

  1 All  2 Favorites  3 Personal  4 Shared  5 Expired              [ passbolt • passbolt.example.com ]
┏Resources━━━━━━━━━━━━━━━━━━━━[All items]┓┌Details──────────────────────────────────────────────────┐
┃→ PASS AWS Console admin@example.com ┃│ PASS AWS Console │
┃ PASS+ GitLab ada ┃│ Username admin@example.com │
┃ NOTE Recovery codes ┃│ URI https://console.aws.amazon.com │
┃ PIN Office door ┃│ Folder Ops │
┃ TOTP Grafana 2FA ┃│ Access shared │
┃ ┃└──────────────────────────────────────────────────────────┘
┃ ┃┌Secret────────────────────────────────────────────────────┐
┃ 1 of 42┃│ Password •••••••• s shows it │
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛└─────────────────────────── [c copy] [s show] [t TOTP] ┘
┌Folders─────────────────────────────────┐┌Metadata─────────────────────────────────────[decrypted]┐
│→ All items 42 ││{ │
│ Ops 12 ││ "name": "AWS Console", │
│ Databases 3 ││ "username": "admin@example.com", │
└──────────────────────────────────1 of 3┘└───────────────────────────────────────── [j,k scroll] ┘
Password of AWS Console copied, cleared in 30s. clipboard cleared in 27s [N]

The screen​

  • The header holds the tabs on the left and the server on the right.

  • The panes: Resources and Folders on the left; Details, Secret and Metadata on the right. The focused pane has a thick green border and takes more room. f shows it alone, Esc brings the others back.

  • The lists show n of m at the bottom. The resources show their scope at the top: [All items], the folder, or /filter.

  • The resources carry a coloured badge for their type:

    BadgeType
    PASSA password
    PASS+A password with a TOTP
    TOTPA TOTP alone
    NOTEA note
    PINA PIN code
    FIELDSCustom fields
    ERRA resource that could not be decrypted
  • Details shows the URIs, the folder, the type, personal or shared, the expiry (red once expired) and the date of the last change.

  • Secret shows the password, hidden until you press s, and the note.

  • Metadata shows the decrypted metadata as JSON.

  • The status line shows the message of the last action for a few seconds, the countdown of the clipboard, and the mode: [N] normal, [I] typing (a form, the filter), [C] a command.

Keys​

KeyAction
l → Tab, h ← Shift+TabNext, previous pane
j ↓, k ↑, PgDn PgUp, Home EndMove in the list; scroll the metadata
1…5, ] [Tabs: All, Favorites, Personal, Shared, Expired
fThe focused pane alone; Esc to come back
g Enter, b BackspaceIn the folders: into the resources of the folder, back to the parent folder
/Filter by name, username or URI in every folder; Enter keeps it, Esc clears it
:Command line (below); ↑ ↓ bring the last commands back
c EnterCopy the password
uCopy the username
aCopy the URI
tCopy the current TOTP code
oOpen the URI in the browser (http and https only)
sShow or hide the secret
nNew resource, in the selected folder
eEdit the resource
d DeleteDelete the resource, after y
rReload from the server
?Help: the keys and the commands
q, Ctrl+CQuit

Commands​

Press :, type the command, then press Enter:

CommandAction
copy [password|username|uri|totp]Copy a field, the password by default. c is short for copy; user and url work too.
open, showOpen the URI, show or hide the secret
new, edit, deleteCreate, edit or delete a resource
filter <text>Filter; filter alone clears it
tab <name|number>Select a tab: tab shared, tab 5
folder <name>Select the first folder whose name starts so: folder data
fullscreen, fThe focused pane alone
reload, rReload from the server
helpThe help
quit, qQuit

Create and edit a resource​

n and e open a form over the panes:

KeyAction
Tab, arrowsMove between the fields
Ctrl+GGenerate the password from the password policies of the organization
Ctrl+RShow or hide the password
Ctrl+S, or Enter on the last fieldSave
EscCancel

When you edit a resource, an empty password keeps the current one, and only the fields you changed are sent.

Clipboard​

A password or a TOTP code you copy leaves the clipboard after 30 seconds, as in the browser extension, unless something else was copied meanwhile. It also leaves when the UI quits. The status line counts the seconds down.

Over SSH, or without a clipboard on the machine (a server without a desktop), the copy goes to the clipboard of the terminal you type in, through its escape sequence (OSC 52).

  • Most terminals accept it: iTerm2, kitty, WezTerm, Windows Terminal, Alacritty, foot.
  • In tmux, set set -g set-clipboard on.
  • Others ignore it: show the secret with s instead.

Secrets​

  • The list holds the decrypted metadata only: names, usernames, URIs and the other metadata fields.
  • A secret is decrypted when you copy or show it. It is kept in memory, zeroed once dropped, and never written to the disk. Selecting another resource hides it.
  • The deadline of --timeout does not apply: the UI runs until you quit.