Hacker News new | ask | show | jobs
by timwis 643 days ago
But doesn’t that still write the secrets to disk? I thought the point of 1pass CLI was so you could avoid having unencrypted secrets on disk?
1 comments

An alternative is using `direnv` and `.envrc` instead:

export TOKEN=$(op item get 'My Service' --fields label=token --vault workwork)

Why not just use op run? It auto replaces references with values.