Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Anonymous
3 years agoCLI export of SSH private key does not export in the expected format.
I store SSH private keys in 1Password, and would like to run a command using the OP CLI to "get" or "read" a private key.
When run the following OP command:
op read op://private/'Key Name'/'Pri...
andi_t_1P
1Password Team
3 years agoHi @teamwampa ! It's good that you ask. We are currently working on returning the open ssh format of private key with the CLI as well so we are more consistent with what the desktop app returns. This should be soon available in all item retrieval commands as well as in secret reference based commands. The pkcs8 format will also still be available to retrieve for backwards compatibility reasons.
All the best,
Andi