It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
 Forum Discussion
rensa
5 years agoOccasional Contributor
CLI commands are very slow
 I love the 1P CLI! But I'm struggling with how long it takes for its commands to return. Commands like  op signin  and  $(opget item [...] --fields password)  (to inject a password into a larger comm...
rensa
5 years agoOccasional Contributor
@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.)

