Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoSSH Keys not able to be accessed by the 1Password CLI
When fetching a SSH key via op item get, it reveals the category value as SSH_KEY
```
op item get 'redacted' --vault personal
ID: redacted
Title: redacted
Vault: Personal (redacted)
Created: 19 minutes ago
Updated: 19 minutes ago by redacted
Favorite: false
Version: 1
Category: SSH_KEY
```
Yet trying to list by that category returns failure:
```
op item list --categories SSH_KEY
[ERROR] 2022/04/28 13:47:56 Unknown item category SSH_KEY
```
1Password Version: 8.7.0
Extension Version: Not Provided
OS Version: macOS 12.3.1 (21E258)
1 Reply
- Former Member
Hey @balupton !
Thank you for reaching out to us!
It seems, for some reason, that the code/commands that you've attached did not render properly, is there any chance that you could attach them again?By reading your question, I think the problem is that a command such as "op item list --categories SSH_KEY" does not work, is this correct? If the case, I think
--categories SSHKeyor--categories "SSH Key"should do the trick. This is, admittedly, counterintuitive, and we do have an internal issue tracking the standardisation of such key words across the CLI.I'm looking forward to hearing from you!
Best,
Horia