Invocation and credentials
Every filemaker operation targets one FileMaker database file. Protected files require authentication with a [Full Access] account. For unattended automation, store account credentials securely (using Windows Credential Manager or macOS Keychain) and invoke commands using --username, --keychain, and --no-prompt.
Command invocation
Pass an NDJSON file containing operations as the final argument:
filemaker --file="/absolute/path/Contacts.fmp12" \
--username="Developer" \
--keychain \
--no-prompt \
ops.ndjson
If the operations file is omitted, filemaker reads NDJSON from standard input. See Operation syntax and NDJSON input.
The --file target accepts absolute paths, relative paths, or fmnet:// URLs. Relative paths resolve from the current working directory. Tilde (~) expansion is not supported.
Credentials for unattended scripts
Store passwords in credential storage (macOS Keychain) using an interactive terminal:
filemaker --file="/absolute/path/Contacts.fmp12" \
--username="Developer" \
--store-credentials
The command prompts for the password, saves it to Keychain, and exits without opening the file. Subsequent commands authenticate automatically via --keychain --no-prompt.
Keychain credentials index by account name and resolved file target. Use identical absolute paths or fmnet:// URLs to ensure stored credentials resolve.
To delete stored credentials:
filemaker --file="/absolute/path/Contacts.fmp12" \
--username="Developer" \
--forget-credentials
Warning Security restriction: Avoid passing passwords via --password on the command line or within NDJSON payloads; process arguments are visible to system processes.
Credentials for interactive use
For interactive development, combine --keychain with --prompt:
filemaker --file="/absolute/path/Contacts.fmp12" \
--username="Developer" \
--keychain \
--prompt \
ops.ndjson
The CLI checks Keychain first; if missing or rejected, a native dialog prompts for credentials and offers to save them.
Built-in help
Query installed help references directly from the binary:
filemaker --help
filemaker help
filemaker help field create
filemaker help --json --all
-
filemaker --help: Global CLI options and usage. -
filemaker help: Lists operation catalogs. -
filemaker help <catalog> <verb>: Displays schema requirements and examples for an operation. -
filemaker help --json --all: Emits the complete schema catalog as JSON.