[pass] Multiple password contexts

Lenz Weber mail at lenzw.de
Mon Nov 14 16:14:18 CET 2016


something along the lines of

alias p1="PASSWORD_STORE_DIR=~/p1 pass"
alias p2="PASSWORD_STORE_DIR=~/p2 pass"

would allow you to call p1 and p2 for the two folders respectively.


On 11/14/2016 04:08 PM, Andrew Dunn wrote:
> But that's the fastest way, to modify an envar? I see qtpass seems to
> have a tab for multiple stores, I was just hoping to stick with cli.
>
> On Mon, Nov 14, 2016 at 10:07 AM, Lenz Weber <mail at lenzw.de> wrote:
>> just set the PASSWORD_STORE_DIR environment variable before calling pass.
>>
>>
>> On 11/14/2016 04:00 PM, Andrew Dunn wrote:
>>> I might have completely missed this in documentation, but is it
>>> possible to have multiple password roots? I'm currently managing this
>>> with some bash aliases that remove/re-symlink to different
>>> repositories. My use case is that I have multiple contexts for sharing
>>> passwords with others.
>>> _______________________________________________
>>> Password-Store mailing list
>>> Password-Store at lists.zx2c4.com
>>> http://lists.zx2c4.com/mailman/listinfo/password-store



More information about the Password-Store mailing list