Directory Connector File Storage
The Directory Connector Desktop Application and CLI share the same database and configuration settings. You may install and use both applications, however it is not recommended to use them simultaneously.
Though not required, it may be helpful to use the Desktop Application first to setup and configure all of your settings before using the Directory Connector CLI.
The Directory Connector configuration file (
data.json) contains objects you may directly edit in order to:
- Set the connection to your Directory
- Configure Sync Options
Avoid opening or modifying
data.json while the Directory Connector Desktop Application or CLI executable is running.
The location of
data.json depends on which platform is in use:
- Windows :
%AppData%\Bitwarden Directory Connector
~/Library/Application Support/Bitwarden Directory Connector
~/.config/Bitwarden Directory Connector
Using the Directory Connector CLI, run the
data-file command to discover the absolute path to the
Cannot autolaunch D-Bus without X11 $DISPLAY
Secret Storage in Headless Environments
If a secure storage environment is not available, you can configure the Directory Connector CLI to use plaintext storage of secrets. To do so, set the following environment variable to override secure storage:
With plaintext storage enabled, you can then configure all settings directly, in plaintext, from the
data.json configuration file.
Plaintext storage of secrets is not compatible with the Directory Connector desktop application. You should only use the Directory Connector CLI with plaintext storage of secrets.
Was this helpful?
Rate this article:
Want to talk to a human?Send Us An Email