Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

Former Member's avatar
Former Member
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

  • Former Member's avatar
    Former Member

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

  • Former Member's avatar
    Former Member

    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.