Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
forty2
4 years agoNew Contributor
Get SSH public key with CLI?
Hi all,
I've been playing with the new SSH key support (which is amazing!) but I've run into a few situations where it would be useful to be able to fetch the public key with the CLI. Unfortunatel...
andi_t_1P
1Password Team
3 years agoHi @marksie19881 , op item get SSHKey --fields 'public key'
should do the trick. Changing the user-facing format of the private key to OpenSSH is on our WIP list but is a broader scope change. The fact that the same value needs to be displayed in OP8 desktop app requires coordination and no promises for when this will be done can be made.
All the best,
Andi