Hacker News new | ask | show | jobs
by surething 645 days ago
An alternative is using `direnv` and `.envrc` instead:

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

1 comments

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