@ag_yaron No worries! I was originally doing op get item [item name] --fields password
, but I've now tested adding --vault [vault uuid]
and it doesn't seem to make a difference. About 5 seconds to retrieve a single password from a specified vault (just running op get item
directly), or 15-20 seconds to retrieve two of them and inject them into a docker build
command with:
docker build --build-arg $(op get item [item 1] --fields password) --build-arg $(op get item [item 2] --fields password) myimage .
(The build command takes about 1-2 seconds to start without any --build-arg
flags that evaluate op get item
.)