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 agoCLI feedback
Hi,
I've spent the last couple days working on a 1Password integration into iTerm2. It will be an alternative data source to the mac Keychain that is currently used, but the same GUI for password m...
Former Member
4 years agoThis is absolutely amazing, @gnachman2, thank you so much for all this feedback!
Some followups here:
1. This has been indeed brought up my multiple customers of the CLI. We're currently investigating the issue and hope to be able to roll out an optimisation soon. In the meantime, please, do let us know if enabling the cache benefits your performance. We have some more ideas to further improve the cache as well, but, for the command you listed, it should help! Let us know if you have any specific suggestions around this feature.
2. Indeed piping op item list
to op item get
should be the easiest way to proceed here. I am not sure I fully get the picture though, can you tell me a bit more about your use-case? By ID, do you mean the ID of a field (I am asking since the ID of the item is already within op item list
output)? If not, what item details that are not within the list
output do you need in your workflow?
3. What format would be the easiest to parse for you? We want to make sure the CLI integrates with all the stacks and workflows, so please feel free to let us know, if you have specific suggestions here!
4. That's indeed a pet peeve of mine as well. We have an internal issue related to revamping our error-text, I'll make sure I'll look it up and bump it a bit, I see how annoying this can become, in an automated scenario.
5. Whenever I need to store the token in a file for testing purposes, I usually do echo $(op signin --raw) > token.txt
. Would this help, in your use-case? If not, what would something that would serve your use-case look like? I imagine something like a --output-file
flag to the signin
command, but I don't want to speculate :)
6. We are currently looking into adding the ability to pipe json into op item edit
, as well as allow passing a --template
flag, similar in behaviour to op item create
. Would this serve your use-case? How would you envision something more...native looking like? Personally, I could see prompting securely, interactively, for a password and a password confirmation. Do you have any suggestions here?
7. Those are indeed the v1 docs, which exist in the developer portal as well. We noticed indeed that this link is currently the one that is accessed from the 'Get started' button of this page: https://1password.com/downloads/command-line/, and this is an oversight that is currently being addressed. Have you noticed this reference anywhere else?
8. I'll pass this feedback along to the biometric unlock team!
9. What I do in this scenario is an op user get --me
. We currently have, on our backlog, an issue about a command to show the authentication status, something like op status
. This is an issue also when biometric unlock is not enabled, so hopefully we'll get two birds with one stone here. What do you think about this?
Once again, thank you a lot for your feedback, and I'm looking forward to hearing from you again!
Best regards,
Horia