FileMaker credentials

The filemaker CLI acts as an independent FileMaker client. It connects directly to your file, authenticates with a designated FileMaker account, and manages database schema using that account's access privileges.

Full Access account requirements

The filemaker CLI inspects and modifies native file structure, including tables, fields, relationships, value lists, custom functions, scripts, layouts, and security settings. These operations require an account assigned to the [Full Access] privilege set.

Full Access privileges are required even for read-only commands and dry runs because the FileMaker engine opens the schema definition during inspection.

Dual client credentials

ADK interacts with FileMaker files through two separate client processes, each authenticating independently:

Client path Process host Account and privilege scope
The filemaker CLI Independent command-line client Designated Full Access account stored in Windows Credential Manager or macOS Keychain
Agent Access in FileMaker Pro Active FileMaker Pro desktop session Account currently signed in to the open FileMaker Pro window

With Agent Access enabled and file access authorized, the agent can request FileMaker Pro to run scripts, execute SQL, process Data API calls, read layout metadata, or deploy web apps. These operations run inside the FileMaker Pro process using the active session's account and privilege set.

Note  Account roles: Schema operations rely on the Full Access account stored for the filemaker CLI. Runtime operations routed through Agent Access execute under the account currently signed in to FileMaker Pro.

Local and hosted files

The filemaker CLI connects over fmnet:// for files hosted on FileMaker Server or shared from FileMaker Pro, and uses local file paths for closed files. Files hosted on FileMaker Server also require version 26.1.1 or later with Allow ADK Connections turned on. See Work with hosted files.

An open local file that is not shared cannot be opened by a second client, including the filemaker CLI. To allow CLI access, close the file or turn on network sharing in FileMaker Pro. See Local and hosted file access.

Password storage

Project files (adk.json) record account names but never store passwords. Saved credentials reside in macOS Keychain (or Windows Credential Manager), indexed by the target file and account name. ADK never writes credentials into source files, logs, or agent prompts.

When credentials are missing or rejected, FileMaker Pro opens a native authentication dialog. If you choose to save the password, subsequent CLI commands read it securely from credential storage.

Change or remove a saved password

Prompt your coding agent to update or forget stored credentials for a file, which triggers a native credential prompt on next connection.

You can also remove stored credentials manually:

  • macOS: Open Keychain Access, search for the FileMaker file name, and delete the credential entry.

Repeated failed login attempts can trigger FileMaker account lockouts. If authentication fails, verify that the account name is correct and retains Full Access privileges.