Feature Request: Easier way to use op to get a username and/or password into a command
I'd like to request a drastically easier use case for getting a username and/or password from a login item.
I'm not a bash guru, so forgive me if there is a trivial way to solve this, but I'm looking for a very simple way to use op to input my password in an ssh command.
By "very simple" I mean not having to do a long pipe into a set variable, use the variable in the ssh command, then clear the variable afterwards. Nor do I want to write a super long op | jq pipe just to get my password into an ssh command.
As this is my primary use case for op CLI, I'd like a syntax like "op get-password ITEM-NAME" and "op get-username ITEM-NAME". I love the flexibility of the JSON output, and do use it occasionally, but a simpler syntax would make life easier 99% of the time.
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Awesome! Me too :)
0 -
oh yeah, +1. Those jq pipes are a pain and depends on deep patterns in the 1P schema, which worries me.
Oh joy: You have posted 2 times within 60 seconds. A spam block is now in effect on your account. You must wait at least 300 seconds before attempting to post again.
0