Feature name
Bitwarden Directory Connector accept passwords from files or environment variables
Feature function
Bitwarden Directory Connector currently only accepts passwords interactively or on the command line. Interactive input is not always possible (running in automated systems) and command line is insecure, since the value is then available to all other processes on the same host via process listing. Most programs that require secrets to be input solve this by allowing to set the password in a file that can be appropriately protected or in an environment variable that can be programmatically set so that it is not revealed in a process listing.
Related topics + references
There is already a PR that implements minimal changes to accomplish this: Add options for giving passwords and secrets as file contents or in an environment variable by psiniemi · Pull Request #82 · bitwarden/directory-connector · GitHub
Corresponding changes already merged to jslib in May: Enable alternative ways for settings passwords by psiniemi · Pull Request #101 · bitwarden/jslib · GitHub