Skip to main content
July 5, 2021
Question

[Suggestion] Add custom path via args or env vars

  • July 5, 2021
  • 2 replies
  • 30 views

Currently the services use a hardcoded path for both the credentials file and the data folder where the sqlite database is stored, would be nice to be able to change this path via configuration flags on the binaries or env variables.


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

2 replies

July 5, 2021

I know that the $HOME env var is used for part of the path but the rest (.op and data folders) are hardcoded.

July 6, 2021

The credentials path is customizable via at the OP_SESSION environment variable. Provide any fully qualified path to the credentials file.

The data directory path can be customized using the $XDG_DATA_HOME to set the case directory. The .op/data path is configured below that automatically.