Y
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
surething
643 days ago
An alternative is using `direnv` and `.envrc` instead:
export TOKEN=$(op item get 'My Service' --fields label=token --vault workwork)
link
moltar
643 days ago
Why not just use op run? It auto replaces references with values.
link
export TOKEN=$(op item get 'My Service' --fields label=token --vault workwork)