[pass] Multiple password-stores
Emil Lundberg
lundberg.emil at gmail.com
Thu Oct 15 10:16:51 CEST 2015
You could also do that with a simple bash script:
~/bin/passs
---
export PASSWORD_STORE_DIR=$1
shift
exec pass "$@"
On Wed, 14 Oct 2015 19:24 Patrick Ben Koetter <p at sys4.de> wrote:
> * Anne Jan Brouwer <the_jinx at etv.cx>:
> > In QtPass I “switch” the PASSWORD_STORE_DIR environment variable.
> >
> > That seems to work well.
> >
> > You could make a simpel script to switch the folders
> like pass-switch-work and pass-switch-private or something..
> >
> > Or setup aliases (eg. pass-work and pass-private) with
> different PASSWORD_STORE_DIR environment settings.
> >
> > Haven’t found a nicer way personally,
>
> Yep, same here.
>
> Would it make sense to add a new command line option to indicate the store?
>
> Something like "pass -s $password-store ..."?
>
> p at rick
>
>
>
> >
> > Anne Jan
> >
> > ---- Patrick Ben Koetter wrote ----
> >
> > >Greetings,
> > >
> > >we use per customer/project code repos in git. And we'd like to store
> all
> > >secrets for a project along with the corresponding repo.
> > >
> > >All I've been able until today is come up with a set up aliases in my
> bashrc
> > >to point 'pass' to the different password-stores. It works, but it
> feels kind
> > >of clumsy.
> > >
> > >Anyone on the list who has had the same requirements and came up with a
> > >different solution?
> > >
> > >TIA
> > >
> > >p at rick
> > >
> > >--
> > >[*] sys4 AG
> > >
> > >https://sys4.de, +49 (89) 30 90 46 64
> > >Franziskanerstraße 15, 81669 München
> > >
> > >Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> > >Vorstand: Patrick Ben Koetter, Marc Schiffbauer
> > >Aufsichtsratsvorsitzender: Florian Kirstein
> > >
> > >_______________________________________________
> > >Password-Store mailing list
> > >Password-Store at lists.zx2c4.com
> > >http://lists.zx2c4.com/mailman/listinfo/password-store
>
> > _______________________________________________
> > Password-Store mailing list
> > Password-Store at lists.zx2c4.com
> > http://lists.zx2c4.com/mailman/listinfo/password-store
>
>
> --
> [*] sys4 AG
>
> https://sys4.de, +49 (89) 30 90 46 64
> Franziskanerstraße 15, 81669 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Florian Kirstein
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20151015/6c468106/attachment.html>
More information about the Password-Store
mailing list