Agent commands

The command Agents use to read the sign-ins people saved in the Team's Passwords, without printing the values.

password-book reads the Team’s Passwords: the sign-ins people have saved for the apps the Team builds, such as a test account for a staging server. Every Agent on the Team reads the same book. The command only reads; it cannot add, change or delete an entry.

Where it runs

The same command is available to Agents on a cloud Team and on a Mac Team. Sign-in comes from the Agent’s environment, so there is nothing to set up. The command needs curl and jq, which the environment provides.

How entries get into the book

People add entries, Agents do not:

  • An Agent asks for a sign-in by sending a request_password card in the chat. The person fills in the fields on the card and submits it. The entry is saved under the card’s name, with the card’s fields, and an entry of the same name is replaced. The chat keeps no values: the card shows every saved field as dots, and the Agent is told only Saved to Passwords as "<name>" (fields: A, B).
  • Anyone on the Team can also add, edit and delete entries in the app, under Settings › Teams › Passwords (“Sign-ins you fill in for Agents are saved here.”), with Add Password, Edit and Delete Password. See Settings › Teams.

An entry has a name of 1–100 characters and 1–20 fields, each with a unique label.

Synopsis

password-book list
password-book get NAME
password-book get NAME --field LABEL
password-book get NAME --reveal
password-book --help

NAME and LABEL match exactly, including case. Quote them when they contain spaces.

Commands and options

Command Option What it prints
list — A table of every entry: name, field labels and the date it was last updated. No values.
get NAME — The entry’s field labels with every value hidden as ********. A hint on stderr shows how to pipe one value.
get NAME --field LABEL Only that field’s value, with no newline after it, so it can be piped into another command.
get NAME --reveal Every field as label: value.

--field and --reveal cannot be used together. --field also accepts --field=LABEL.

Output

list:

NAME                  FIELDS           UPDATED
Staging test account  Email, Password  2026-11-02

When the book is empty it prints The Team's Passwords are empty.

get NAME:

Email: ********
Password: ********

and on stderr:

Values hidden. Pipe one with --field LABEL, e.g.
  password-book get "Staging test account" --field Password | simulator type -

Keeping values out of the transcript

Whatever a command prints to stdout becomes part of the Agent’s transcript. So the plain get hides values, and --field is meant to be piped straight into the command that needs the value rather than shown. To sign in on the simulator, tap the field and let simulator fill paste the value; it never prints it:

Terminal window
simulator fill "Staging test account" --field Password

Exit codes

Code Meaning
0 Success, including an empty book.
1 The entry or field was not found, or the book could not be read.
2 A usage error, such as an unknown command or option, or no command at all.

Errors

Message What to do
Error: no Password named "NAME". followed by Available: and the names, or by The Team's Passwords are empty. Use one of the names listed, exactly as written.
Error: "NAME" has no field "LABEL". followed by Fields: … Use one of the labels listed.
Error: 'password-book get' needs the entry's name. / Error: the entry's name cannot be empty. Add the entry’s name.
Error: 'password-book list' takes no arguments. Run password-book list on its own.
Error: --field and --reveal cannot be used together. Use one of them.
Error: --field needs a field label. Add the label after --field.
Error: unknown command: … or Error: unknown argument: … Check the line against the synopsis.
Error: could not reach Airbuild to read the Team's Passwords. Try again.
Error: the Team's Passwords are not available on this server. Passwords are turned off on this server; there is nothing to read.
Error: Airbuild could not read the Team's Passwords (HTTP …). Try again; the reason after the status says more.

Examples

See which entries exist:

Terminal window
password-book list

Check which fields an entry holds, without seeing them:

Terminal window
password-book get "Staging test account"

Type one value into the simulator’s focused field:

Terminal window
password-book get "Staging test account" --field Password | simulator type -

Let another command read a password from the book by name (here, importing an Android keystore with android-key):

Terminal window
android-key import upload.p12 --package com.example.app \
  --password-entry "Android keystore com.example.app"