Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
jc00ke
4 years agoOccasional Contributor
Secret reference syntax usable by direnv?
I see on docs/cli/secrets-environment-variables that I can op run -- myapp start but what if I wanted to load secret values via direnv? I don't see anything in the direnv-stdlib and was wondering i...
Former Member
4 years agoActually, I found that adding the passwords to .envrc
like so works: export BAR="$(op read op://vault/item/[section/]field)"
. A bit verbose, but it's a start