Forum Discussion

Anonymous's avatar
Anonymous
4 years ago

[Suggestion] Add custom path via args or env vars

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

  • Anonymous's avatar
    Anonymous

    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.

  • Anonymous's avatar
    Anonymous

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