Subcommands16 subcommands
bwdc login
Log in to Directory Connector
bwdc logout
Log out of Directory Connector
bwdc test
Prints a JSON formatted array of groups and users that would be synced to your Bitwarden organization
bwdc sync
Run a live sync operation and push data to your Bitwarden organization
bwdc last-sync
The last-sync command returns an ISO 8601 timestamp for the last sync operation that was performed for users or groups. You must specify either users or groups as an <object> to run the command against- Returns an empty response if no sync has been performed for the given object
bwdc config
The config command allows you to specify your directory settings
bwdc config server
URL of your self-hosted installation (e.g. https://my.url.com) or https://vault.bitwarden.eu
bwdc config directory
Type of directory to use
bwdc config ldap.password
Password for connection to the LDAP server
bwdc config azure.key
Azure AD secret key
bwdc config gsuite.key
Google Workspace/GSuite private key
bwdc config okta.token
Okta token
bwdc config onelogin.secret
OneLogin client secret
bwdc data-file
Path to data.json database file
bwdc clear-cache
The clear-cache command allows you to clear cached data that the application stores while performing sync operations
bwdc update
The update command allows you to check if your Directory Connector CLI is up-to-date