Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoop secret provisioning in vscode
Hi all,
I've been looking to integrate the secret provision from op run -- into vscode, so I can start using it for my local development. However, there doesn't seem to be a way to integrate a t...
Former Member
4 years agoIn vscode-go
, it would go something like this:
1. create a custom runner, save it somewhere (e.g. ~/.op/runners/go
):
```
!/bin/bash
if [ $# -ge 1 ] && ([ $1 = 'run' ] || [ $1 = 'test' ]); then
op run -- go $@
else
go $@
fi
```
- in your project, in
settings.json
, updatego.alternateTools
to point to the new runner:"go.alternateTools": { "go":"~/.op/runners/go" }
Let me know if this helps.
Best,
Horia