[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

Comments

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

  • James_1PJames_1P

    Team 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.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file